Thread: Problem marathon!

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    103

    Problem marathon!

    I am a math geek and I love doing math. Problem-solving math that is. Go to artofproblemsolving.com for more info. I also love computers. So, I thought how about a marathon for programming problems? I'm talking about mathematics based problems not projects like making a program to transfer files over a network. Solve the problems using C. Post the code here and if you solve a problem, you have to supply a new one. It'd be fun if we would gradually increase in difficulty.

    A person will be best friends with another person if their SSN's give the same mod 47 residues (for this problem SSN's will be only 6 digits). Write a program that takes in 12 digit numbers which consist 6 digits of one person and 6 digits of another and it has to output whether the two people will be best friends or not.

  2. #2
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Ok, I didn't get this? But ain't this what the whole forum is about, solving and helping with problems o.O?
    Currently research OpenGL

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    103
    Its also about solving problems, not necessarily people's problems.

  4. #4
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Ok, this time I surely got lost... This forum ain't a therapy forum or let-it-off-your-chest forum, you know that right?
    Currently research OpenGL

  5. #5
    Registered User
    Join Date
    Apr 2008
    Posts
    396
    So, I thought how about a marathon for programming problems?
    the contest board may probably be more appropriate.

  6. #6
    Registered User
    Join Date
    Jan 2009
    Posts
    103
    What i'm trying to say is that solving programming problems *might* just be good for you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  2. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  3. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  4. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  5. beginner problem
    By The_Nymph in forum C Programming
    Replies: 4
    Last Post: 03-05-2002, 05:46 PM