TEST  Life, the Universe, and Everything
Your program is to use the bruteforce 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.
Example
Input: 1 2 88 42 99 Output: 1 2 88
Information
In case of any problems with your code, you can take a look in the forum, you'll find the answer, only for this problem, in various languages.
hide comments
kamrul_h_murad:
20190217 22:52:48
Last edit: 20190217 23:01:25 

masz3k:
20190217 18:39:34
trash question tbh 

danghoanthien:
20190215 07:30:28
who can show code for me, a sample for this problem, t can solve anything :(((


boguwyrw:
20190214 17:47:57
I'm confused. The input is ok, the output also, but the result is showing wrong. Anyone knows why? 

mattthebat2569:
20190213 03:46:07
Confusion 

apollo_123:
20190210 10:31:12
GIves the run time error but runs correcty on ideone ... any solution ? 

teodor_ict2:
20190206 16:37:49
int main() 

saikatshaw:
20190203 11:55:02
i dont khow why result is showing wrong


fahim_shahriar:
20190201 19:31:01
Can't solve it. Help me please! 

ramnarayanaram:
20190123 07:42:17
take input and do print

Added by:  mima 
Date:  20040501 
Time limit:  10s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All 
Resource:  Douglas Adams, The Hitchhiker's Guide to the Galaxy 