C and C++ challenges

Discussion in 'C++' started by jaaam, May 18, 2009.

  1. jaaam

    jaaam New Member

    Joined:
    May 18, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I found the c and c++ challenges in <<Snip>> are good. try it

    Thanks,
    Jaaam
     
  2. SaswatPadhi

    SaswatPadhi ~ Б0ЯИ Τ0 С0δЭ ~

    Joined:
    May 5, 2009
    Messages:
    1,342
    Likes Received:
    55
    Trophy Points:
    0
    Occupation:
    STUDENT !
    Location:
    Orissa, INDIA
    Home Page:
    http://www.crackingforfun.blogspot.com
    This is not the right place to post this thread : should be in Chit-Chat.

    About the challenges, I didn't find them really hard/interesting, good for a high-school student probably.

    I my-self solve programs from http://uva.onlinejudge.org/, btw.
    That's a really really good site which will improve both programming and mathematics skills.
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    No Self promotion
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    The "challenges" at [snip] are not that good, the site just posts obfuscated code and bad C grammar and asks if you can work out what it does. Much better are the challenges at http://www.osix.net; these actually help you learn how to use your tools (the compiler) to solve well designed problems as well as giving you some motivation to complete further challenges.

    If you want to have a go at figuring out what obfuscated code does the best place for that is the IOCCC - the International Obfuscated C Code Competition, where all the winning entries from previous years are posted. My favourite is still the one that starts with main(){} then #includes itself 6 lines later (and works!), and there's a brilliant one where the code as is is a sort program, then you compile it and run it against its own source code whereupon it becomes a different program that not only works but actually does something useful (reverses the lines or something), then do it again and it becomes a 3rd useful program. Now THAT my friend is impressive.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice