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 listApr 28, 2024 16:17Steve HanSteve HanScore: 19,016Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 02:4618,022223,161,020149,579,62402,297,856
2Apr 29, 2024 02:4618,049205,263,639149,803,47802,289,664
3Apr 28, 2024 19:0218,098202,046,150150,212,39902,174,976
4Apr 29, 2024 02:4618,103223,009,145150,255,28102,297,856
5Apr 28, 2024 16:1918,166217,762,233150,779,97902,174,976
6Apr 29, 2024 02:4618,168218,212,231150,793,92802,306,048
7Apr 28, 2024 16:1818,184204,737,297150,930,47302,293,760
8Apr 28, 2024 16:1818,195211,767,785151,014,80302,301,952
9Apr 28, 2024 16:1818,231224,738,231151,313,60502,293,760
10Apr 29, 2024 02:4618,911224,463,790156,958,51102,297,856
11Apr 29, 2024 02:4618,990213,035,381157,619,72502,285,568
12Apr 28, 2024 19:0219,012215,375,442157,796,01902,297,856
13Apr 28, 2024 16:1719,016222,974,786157,831,00102,297,856
14Apr 28, 2024 16:1819,018216,572,077157,853,42202,301,952
15Apr 28, 2024 16:1919,021220,881,379157,875,89502,297,856
16Apr 28, 2024 16:1919,026216,679,855157,912,32202,179,072
17Apr 28, 2024 16:1819,063215,439,592158,226,93702,297,856
18Apr 28, 2024 16:1919,096216,239,059158,500,58502,174,976
19Apr 28, 2024 16:1819,099210,788,883158,522,00502,301,952
20Apr 28, 2024 16:1919,225212,704,422159,568,67102,301,952
21Apr 28, 2024 16:1919,267231,956,406159,917,46602,297,856
22Apr 28, 2024 16:1719,278215,594,920160,005,30002,301,952
23Apr 28, 2024 16:1719,283222,127,584160,048,52302,301,952
24Apr 28, 2024 19:0219,331224,447,315160,444,06002,179,072