Login
Username (New User? Signup) Password (Forgot Password?)
Signup
Login or
Signup with
Connect
Note
  • Publicize your achievements on your Facebook Wall.
  • Challenge your friends or ask them for help.

Site Navigation

  • PRACTICE
    • Easy
    • Medium
    • Hard
    • Peer
  • COMPETE
    • September Algorithm Challenge
    • August Cook-Off 02
    • August Algorithm Challenge
    • July Cook-Off 01
    • January Algorithm Challenge
  • DISCUSS
    • Wiki
    • Forums
    • Blog
    • Twitter
  • COMMUNITY
    • CodeChef Meetups
    • Campus Chapters
    • Host your Contest
    • User Groups
    • CodeChef TechTalks
    • All Educational Initiatives
  • HELP
    • Frequently Asked Questions
    • FAQ for problem setters
    • Problem Setting
    • Ranks
    • Tutorials
  • ABOUT
    • About CodeChef
    • Team CodeChef
    • Press Room
    • CodeChef Financials
    • CodeChef Sponsorships
    • CEO's Corner
    • About Directi
Home » Problems (medium)
Try your hand at one of the practice
problems, and submit your 
										
					solution in the language of your choice
(our judge accepts solutions
										
					 in over 35+ languages). Receive points,
and move up through the CodeChef ranks.
										
					  Get better, and better prepare
yourself for 
							the competitions

  • Easy
  • Medium
  • Hard
  • Peer
Name Code Successful Submissions Accuracy
Bytelandian gold coins COINS 613 12.2350
Prime Generator PRIME1 335 10.4792
Marbles MARBLES 312 16.1483
The Next Palindrome PALIN 271 13.4094
Mixtures MIXTURES 83 21.3823
Play on Words WORDS1 80 8.5619
Stepford Houses INSOMA3 74 15.3247
The Rise and Fall of Power MARCHA4 64 4.9161
Pouring water POUR1 60 13.1661
Buttons BUTTONS 48 7.0938
Domain Dilemma DDILEMMA 41 9.5639
XAndOr INSOMA5 28 20.2703
Array Transform ARRAYTRM 26 20.1031
Name Chopping INSOMA4 24 11.5242
Monitoring Madness MMADNESS 22 6.7257
Money Matters MONEY 21 8.2353
Stable Marriage Problem STABLEMP 19 19.4175
Help the soldier SOLDIER 16 12.0879
AND Rounds RESN01 16 25.8065
Flipping Coins FLIPCOIN 16 3.9936
Sphere in a tetrahedron TETRA 14 71.4286
The LCS Problem Revisited J2 14 30.7692
Tautology TAUT 14 23.6559
Squash the Bugs B5 13 14.0625
Adding Fractions ADDFRAC 13 15.1899
The Sports Stadium STADIUM 11 13.0435
Quadratic Equations E4 10 27.0270
Fetching Cooking Tools TOOLS 10 33.3333
Kayaks H2 9 15.8537
The Matrix Game SNCK01 9 31.5789
Squirrel and chestnut SQUIRREL 9 17.9487
The N Queens Puzzle Revisited J3 9 58.0645
Ripple-Carry Adder RIPPLE 8 23.5294
Soccer League M3 7 18.7500
Lights Off, Revisited! EX 6 50.0000
Just a simple sum H4 6 8.9552
Optimizing Production and Sales FACTORY 6 34.4828
Sum of numbers NUMSUM 6 1.1742
SudokuX J1 6 20.0000
Lights Off E2 6 33.3333
The Lucky Draw D2 5 11.9048
Bytelandian Robots F2 5 20.0000
Maze of Digits K3 5 54.5455
Block Tower BLOCKS 4 37.5000
The powerful sum C2 4 5.9524
Pricing Tollbooths TOLLS 4 98.8873
Curry Stained Napkin F3 4 57.1429
Menu MENU 4 14.2857
Paragraph Formatting H5 4 18.1818
A Bowling Game G1 4 26.3158
A Coin Game G3 4 25.0000
Sinking Time DCE01 3 31.2500
Spaghetti Monsters B1 3 15.7895
The battlefield D3 3 50.0000
Prime words C3 3 15.1515
Cutting off Squares CUTSQRS 3 44.4444
Battleship V B3 3 12.0000
Magic sequence F5 3 33.3333
Closest Ranking VOTING 3 20.0000
Super Factor Sum FACTSUM 3 3.6036
Longest Common Subsequence TLCS 3 3.3333
The Cursed Room MMATCH 3 28.2051
Smart Frog G2 3 5.8824
Head office building BUILDING 3 10.3448
Sorting device MX 3 88.8889
Cell Phone Towers L1 2 3.3333
Fossil in the Ice TFOSS 2 1.9231
K-important Strings N3 2 33.3333
Circle of towers L4 2 27.1429
Robot Game TR2 2 21.0526
The Best Tower NX 2 9.0909
Jawbreaker LX 2 50.0000
Best board fill CX 2 66.6667
Primary Proposal PROPOSAL 2 40.0000
Flood FLOOD 2 42.8571
Food Shortage in Byteland BYTEFOOD 2 60.0000
An interesting subsequence C5 2 3.6145
I for Insomnia INSOMB3 2 7.1429
Best Sums BESTSUM 1 0.1825
Happy Days HAPPY 1 4.7619
Bubbles BX 1 16.6667
Relevant Phrases of Annihilation PHRASES 1 1.1111
Summing Slopes SUMSLOPE 1 3.8462
Exit code ECODE 0 0.0000
Swarm of Polygons SWARM 0 0.0000
Directi Go for Gold

RECENT COMMENTS

11:11 PM Sep 2nd: atul commented on Trees Again:   @ govardhan reddy your example does not satisfy the property of tree
10:33 PM Sep 2nd: ishan dutta commented on Bytelandian Shoppers: "every item is brought by atleast one person".How can one single item be bought by...
10:30 PM Sep 2nd: vishal gupta commented on Cipher: give some more good test cases.....
10:28 PM Sep 2nd: vishal gupta commented on Cipher: wht the hell..!! prog. is taking all cases on my compiler but still getting wrong ...
09:49 PM Sep 2nd: govardhan reddy commented on Trees Again: How many subtrees should i get for the following test case:  ( Tell if this case ...
09:24 PM Sep 2nd: ankit anand commented on Cipher: giver some more testcases
08:47 PM Sep 2nd: govardhan reddy commented on Trees Again: A directed tree is a directed graph which would be a tree if the directions ...
07:57 PM Sep 2nd: Admin commented on Bytelandian Shoppers: @ashish: You are not allowed to discuss the complexity of the solution during the ...
06:53 PM Sep 2nd: varun sapra commented on Cipher: my program is satisfying all the test cases.....but it is still being evaluated as...
06:42 PM Sep 2nd: Ravi Maggon commented on Cipher: Look i am giviny you the logic of what exactly you have to do. From a given input...
CodeChef is a non-commercial competitive programming community
  • About CodeChef
  • About Directi
  • CEO's Corner
  • feedback@codechef.com
© 2009 Directi Group. All Rights Reserved. CodeChef uses SPOJ © by Sphere Research Labs
Sponsors
The time now is: