Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listJul 8, 2021 19:44Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 99,387Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 20:0499,290896,639,936824,103,21502,211,840
2Jul 8, 2021 20:0499,309883,075,286824,267,27902,215,936
3Jul 8, 2021 20:2499,329887,142,674824,433,69202,220,032
4Jul 8, 2021 20:0499,335884,734,255824,483,50402,220,032
5Jul 8, 2021 21:2899,355892,671,478824,642,94502,215,936
6Jul 8, 2021 20:2499,374893,640,536824,806,58502,203,648
7Jul 8, 2021 21:2899,387884,418,729824,912,94202,220,032
8Jul 8, 2021 20:2499,405875,086,765825,064,92602,211,840
9Jul 8, 2021 19:4499,409896,637,831825,093,44902,215,936
10Jul 8, 2021 19:4499,421890,979,051825,191,31302,224,128
11Jul 8, 2021 21:2899,432892,016,194825,287,25802,211,840
12Jul 8, 2021 19:4499,459889,814,601825,511,87702,220,032