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 listOct 8, 2024 09:06matsuoka-601matsuoka-601Score: 4,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2024 09:064,08962,362,22430,945,0002,994,0002,523,136
2Oct 8, 2024 09:084,09657,567,60030,996,0002,999,0002,297,856
3Oct 8, 2024 09:064,09760,382,40631,005,0003,000,0002,297,856
4Oct 8, 2024 09:064,10156,365,77132,038,0002,002,0002,293,760
5Oct 8, 2024 09:084,10256,795,53232,041,0002,002,0002,514,944
6Oct 8, 2024 09:064,10556,667,69931,064,0003,006,0002,347,008
7Oct 8, 2024 09:084,10555,722,40932,064,0002,004,0002,363,392
8Oct 8, 2024 09:064,10659,169,89932,074,0002,004,0002,510,848
9Oct 8, 2024 09:064,10960,630,67632,101,0002,006,0002,510,848
10Oct 8, 2024 09:074,11058,710,38732,103,0002,006,0002,514,944
11Oct 8, 2024 09:064,11558,276,63733,151,0001,004,0002,519,040
12Oct 8, 2024 09:084,12257,195,14033,209,0001,006,0002,297,856
13Oct 8, 2024 09:064,12456,341,89832,218,0002,013,0002,297,856
14Oct 8, 2024 09:084,12457,228,99631,211,0003,020,0002,351,104
15Oct 8, 2024 09:084,12660,014,67632,235,0002,014,0002,297,856
16Oct 8, 2024 09:084,12860,065,75432,249,0002,015,0002,502,656
17Oct 8, 2024 09:084,13858,273,77232,324,0002,020,0002,297,856
18Oct 8, 2024 09:074,13956,561,39333,344,0001,010,0002,297,856
19Oct 8, 2024 09:084,14057,525,48031,333,0003,032,0002,297,856
20Oct 8, 2024 09:084,14056,515,40534,358,00002,514,944
21Oct 8, 2024 09:074,14056,021,79033,356,0001,010,0002,297,856
22Oct 8, 2024 09:084,14562,125,72033,394,0001,011,0002,297,856
23Oct 8, 2024 09:084,15757,578,02833,485,0001,014,0002,510,848
24Oct 8, 2024 09:084,16865,856,74733,574,0001,017,0002,519,040
25Oct 8, 2024 09:084,17465,864,95033,625,0001,018,0002,297,856
26Oct 8, 2024 09:064,17563,295,99832,611,0002,038,0002,510,848
27Oct 8, 2024 09:084,23262,260,45532,113,0003,010,0002,510,848