Sphere Online Judge

SPOJ Problem Set (classical)

1. Life, the Universe, and Everything

Problem code: TEST

Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely... rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits.




Added by:Micha≥ Ma≥afiejski
Time limit:10s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel Pentium G860 3GHz)
Resource:Douglas Adams, The Hitchhiker's Guide to the Galaxy

hide comments
2014-03-28 22:40:00 Shubham Srivastava
how to limit inputs from user
2014-03-18 10:38:56 md furkanul islam
2014-03-17 09:03:25 sukumar
how many inputs are needed???
2014-03-09 17:04:07 VinDesh
Hey guyz!! I am new to SPOJ, I am submitting the code but it is not accepted, so can anybody give the code so that i can get the format of how to submit the solution. Pls this is a humble request.. Thanking u in advance
--ans(francky)--> See the forum, you'll find it.

Last edit: 2014-03-09 17:19:59
2014-03-08 15:52:31 luis
help i use, java eclipse, how i can send my answer??
--ans(francky)--> Once logged, you should see at top "submit" : here you can post your code with copy/paste, or send your source code via a file.

Last edit: 2014-03-08 16:12:19
2014-02-22 05:00:38 Sandeep
when should we stop taking the input values, only when number>99 is given as input or any other conditions?
2014-02-21 23:31:05 Guess_who

Last edit: 2014-02-21 23:33:17
2014-02-17 20:47:54 yash agarwal
my 100th spoj problem
2014-02-13 20:05:00 tester

Last edit: 2014-02-13 20:05:11
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.