Saturday, December 26, 2009

Getting Started with SPOJ...



SPOJ is the perfect place to practice coding in any language you prefer.no matter how good or bad you are at coding..you will find problems for your level.

This is a quick how to begin on SPOJ:

The first thing you need to do is to register (it's free and spamless). Then find problem from one of the extensive problemsets, write a solution in your favorite language and submit it. Next switch to status page and watch progress of judging of your solution. After few moments you will see the result:
1. AC - accepted - your program ran successfully and gave a correct answer (this you will like most :) )

2. WA - wrong answer - your program ran successfully, but gave an incorrect answer

3. TLE - time limit exceeded - your program was compiled successfully, but it didn't stop before time limit
These are status codes you will see most often. To know all of them, see FAQ or this tutorial.

Once you get up and running,you get points for the problems you solve on the following basis:

  • for solving classical problem p: 80/(40+number_of_people_who_have_solved p) points
  • for a top score in any challenge: 3 points,
  • for any lower score in a challenge: (user's_score relative_to_the top_score) points.
Numbers given in brackets beside the scores correspond to the number of solved classical problems and the number of challenges for which the user's best score is also the top score, respectively.

Now check out your programming skills.For a start look at these for hints:
Easy SPOJ problems
Medium Level SPOJ problems

Please post your complaints(if any) and suggestions here

1 comment: