CodeChef is a non-commercial competitive programming community
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
    • Challenge
    • Peer
  • COMPETE
    • February Long Contest
    • January CookOff
    • January Long Contest
  • DISCUSS
    • Wiki
    • Forums
    • Blog
    • Twitter
  • COMMUNITY
    • CodeChef Meetups
    • Campus Chapters
    • Host your Contest
    • User Groups
    • CodeChef TechTalks
    • All Educational Initiatives
    • Event Calendar
  • 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
    • Contact Us
    • About Directi
Home » Practice(easy)
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
  • Challenge
  • Peer
Name Code Successful Submissions Accuracy
Life, the Universe, and Everything TEST 13342 31.64
ATM HS08TEST 8010 23.66
Factorial FCTRL 5528 32.35
Enormous Input Test INTEST 5169 37.79
Small factorials FCTRL2 3237 20.05
Odd DCE05 2805 29.8
Turbo Sort TSORT 1794 22.02
Transform the Expression ONP 1681 40.21
Sums in a Triangle SUMTRIAN 1659 32.18
Ambiguous Permutations PERMUT2 1343 41.6
The Lead Game TLG 1149 23.43
Paying up MARCHA1 1008 33.63
Stone Game RESN04 1004 46.09
Yet Another Number Game NUMGAME 849 38.21
Holes in the text HOLES 791 40.64
A Very Easy Problem! EASYPROB 713 46.39
Nuclear Reactors NUKES 656 28.88
Prime Palindromes PRPALIN 580 25.91
Cooling Pies COOLING 516 43.27
Permutation Cycles PCYCLE 510 37.35
The Way to a Friends House Is Never Too Long POINTS 500 19.81
Discrepancies in the Voters List VOTERS 476 27.07
Cleaning Up CLEANUP 464 46.7
Johnny and the Beanstalk MARCHA2 419 23.41
Birthday Candles CANDLE 410 22.86
GCD2 GCD2 381 19.75
Cutting Recipes RECIPE 317 52.2
Not a Triangle NOTATRI 300 19.98
Decreasing String DECSTR 280 30.6
Poker POKER 279 29.22
The Best Box J7 269 57.92
Parenthesis DCE03 227 24.82
Arranging the Appetizers ARRANGE 203 47.53
Open the Dragon Scroll DRAGNXOR 194 50.61
The White Knight E1 184 20.7
A Simple Equation EQUATION 179 20.9
Correctness of Knight Move KNIGHTMV 173 23.72
Three Way Communications COMM3 168 54.42
Summing Subsets RESN05 152 28.38
Hotel Bytelandia HOTEL 146 44.73
The Morning Commute COMMUTE 145 54.41
Product of divisors D1 141 7.31
Popular Rice Recipe TIDRICE 141 50.88
Ciel and A-B Problem CIELAB 135 51.4
Primality Testing INSOMB1 127 20.78
Internet Media Types MIME2 126 28.89
Number Game Revisited NUMGAME2 124 59.7
Rescue DCE04 111 31.38
Ciel and New Menu CIEL8STR 109 20.38
Distribute idlis Equally EQIDLIS 105 31.19
Money Transformation MONTRANS 102 27.79
Misinterpretation MISINTER 102 52.52
Chef team CHEFTEAM 99 12.3
Sums in a cuboid CUBESUM 91 38.86
Pairing Chefs PAIRING 89 49.04
A New Number System ACMKANPD 84 25.27
Count the squares D6 83 20.98
Garden Squares GARDENSQ 81 36.04
Subanagrams SUBANAGR 79 39.46
A Prime Conjecture PRIMES2 76 33.09
Last Digit Sum LASTDIG 75 20.48
Palindromic Numbers K2 73 8.79
Rational Numbers SNCK04 72 22.66
Vote for the Noodle Soup NDLVOTE 71 24.5
Digit Rotation DIGROT 68 18.85
Exploding Search INSOMA2 63 24.93
Sum of pairs PAIRSUM 62 11.67
Make A Square MKSQR 56 45.77
Collision in Space COLLIDE 56 20.3
Generalized Arithmetic Progression Free Sequence GENARSEQ 53 23.17
Tree Product TPRODUCT 52 17.87
Count palindromes COUNTPAL 51 38.55
Moving Coins MVCOIN 50 42.86
Lost Primes L3 47 27.24
Painting Racing Lanes RACELANE 47 38.41
Socializing Game around Pizza BIGPIZA 46 37.84
One Dimensional Game of Life LIFE 43 56.47
Most Popular Friend LOKBIL 42 25.33
Younger Brother CHEFBRO 41 27.23
Nikhils Dungeon NDUNGEON 41 21.71
Chef Travel Routes TRAVELER 41 35.03
Dish Distribution DISHDIS 39 20.68
Maximal crosses MAXCROSS 39 28.51
BIT Magazine TRMAG 39 34.72
Gravel SPREAD 37 19.31
CEO Ride INSOMB6 36 16.67
The Black and White Knights BWKNIGHT 35 17.31
Healthy dinner party C4 34 24.5
Packing the Golden Triangles PACKBAND 34 22.94
Snake Snaky SNAKY 34 15.33
Randomly Testing Circuits CIRCUITS 32 40.66
Infinite Grid Game IGAME 28 32.28
Golf course F1 28 17.47
A puzzle game H1 28 24.84
Weight of Numbers WEIGHT 28 44.94
A String Game ASTRGAME 28 13.41
Whole submatrix WINDOW2 26 17.28
Breaking Into Atoms ATOMS 26 50.82
Stepping Up STEPUP 26 26.24
Plant Location K1 26 27.91
Chef Teams CTEAMS 26 29.41
Super-plane SUPERPLN 25 24.08
Nice Quadrangles NICEQUAD 24 22.76
Robot Movings MOVES 24 25.47
Rectangles Counting RECTCNT 23 20.21
Trip TRIP 23 8.04
Chefs new Pet HAREJUMP 22 36.61
Flu Shot Lineup FLUSHOT 22 32.14
Central Point CPOINT 22 17.74
Brush Fire FIRE 22 24.51
A-E Hash Function AEHASH 21 28.87
Obstacle Course COURSE 20 7.28
Count Relations COUNTREL 20 41.54
Treasure Hunting N1 20 23.64
The Great Wall of Byteland BWALL 20 54.55
Makx Sum KSUBSUM 20 21.95
Tri-Hexagonal Puzzle N4 19 35.16
Rendezvous TR1 18 22.83
Prime Pattern PRIMPATT 16 20.34
Byteknights and Byteknaves BYTEISLE 15 13.94
Maximal Score Path RG_01 15 26.09
Omax OMAX 15 23.08
Lucky Palin LUCKPAL 15 20.91
Bogosort BOGOSORT 14 28
Houses and Restaurants RHOUSE 14 22.67

Directi Go for Gold

RECENT COMMENTS FOR THIS SECTION:

11:03 AM Feb 4th: nickelback commented on Life, the Universe, and Everything: public static void main(String[] args) throws IOException { int num; int c...
02:38 AM Feb 3rd: bilbo_dhawal commented on ATM: should the output for 2000 2000.00 be -0.50 ? or 0.00 ?
10:24 PM Feb 2nd: monikadaryani commented on Life, the Universe, and Everything: @suraj_subba: dont use printf("Enter Numbers"); Dont use it ever in coding online.
02:44 PM Feb 2nd: kitesh commented on ATM: can some tell me what is wrong in my code. Getting wrong answer. http://www.code...
11:59 AM Feb 2nd: rrangan5 commented on Life, the Universe, and Everything: @suraj_subba : Dude u have taken the array to be of size 200. The maximum number o...
07:56 AM Feb 2nd: benfulton commented on Life, the Universe, and Everything: Been seeing "Oops, we couldn't seem to load the successfull submission. " for a fe...
04:23 PM Feb 1st: suraj_subba commented on Life, the Universe, and Everything: Can anyone tell me whats wrong in my code. Its saying run time error. #include ...
04:39 PM Jan 31st: arif1522 commented on ATM: http://footballliveon.blogspot.com/2012/01/manchester-u-vs-stoke-c-live-streaming....
10:28 AM Jan 30th: r00k1e2k11 commented on A Simple Equation: never mind .. got it
02:01 AM Jan 30th: r00k1e2k11 commented on A Simple Equation: @admin: Pls check http://www.codechef.com/viewsolution/812145 i am getting WA.. ...
CodeChef is a global programming communityCodeChef hosts online programming competitions
CodeChef is a non-commercial competitive programming community
  • About CodeChef
  • About Directi
  • CEO's Corner
  • C-Programming
  • Programming Languages
  • Contact Us
© 2009 Directi Group. All Rights Reserved. CodeChef uses SPOJ © by Sphere Research Labs
In order to report copyright violations of any kind, send in an email to copyright@codechef.com
CodeChef a product of Directi
The time now is:
CodeChef - A Platform for Aspiring Programmers

CodeChef was created as a platform to help programmers make it big in the world of computer programming. At CodeChef we work hard to revive the geek in you by hosting programming contests on a monthly basis. We also aim to have training sessions and events related to online programming for programmers around the world. Apart from providing a platform for programming competitions, CodeChef also has various tutorials and forum discussions to help those who are new to the world of computer programming.

Practice Section - A Place to hone your 'Computer Programming Skills'

Try your hand at one of our many practice problems and submit your solution in a language of your choice. Our judge accepts solutions in over 35+ programming languages. Online programming was never this much fun! Receive points, and move up through the CodeChef ranks. Use our practice section to better prepare yourself for the multiple programming competitions that take place through-out the month on CodeChef.

Compete - Monthly Programming Contests and Cook-offs

Here is where you can show off your computer programming skills. Take part in our 10 day long monthly programming contests and the shorter format Cook-off programming contests. Put yourself up for recognition and win great prizes. Prizes worth up to Rs.20,000 and $700 are up for grabs every month along with lots more CodeChef goodies.

Discuss

Are you new to computer programming? Do you need help with algorithms? Then be part of CodeChefs Forums and interact with all our programmers love helping out other programmers and share their ideas.

CodeChef Community

As part of our Educational initiative, we give institutes the opportunity to associate with CodeChef in the form of Campus Chapters. Hosting online programming competitions is not the only feature on CodeChef. Be a part of the CodeChef community through CodeChef meetups and techtalks. You can also host a programming contest for your institute on CodeChef and be a guest author on our blog.

Domain Name Registration, Web hosting, and Website Design provided by BigRock.com