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 listSep 21, 2025 20:31sheryllynn24sheryllynn24Score: 8,594Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2025 20:328,15294,208,50966,653,0001,009,0002,277,376
2Sep 21, 2025 20:328,18299,211,09165,911,0001,997,0002,281,472
3Sep 21, 2025 20:318,19497,605,37566,007,0002,000,0002,510,848
4Sep 21, 2025 20:328,20495,642,82168,095,00002,281,472
5Sep 21, 2025 20:328,22494,136,49964,245,0004,015,0002,269,184
6Sep 21, 2025 20:328,23696,318,23866,348,0002,010,0002,269,184
7Sep 21, 2025 20:318,24591,781,33966,424,0002,012,0002,277,376
8Sep 21, 2025 20:328,27194,495,65567,640,0001,009,0002,355,200
9Sep 21, 2025 20:318,29292,763,31966,798,0002,024,0002,281,472
10Sep 21, 2025 20:328,59493,408,11368,319,0003,014,0002,371,584
11Sep 21, 2025 20:328,60394,237,54670,399,0001,005,0002,269,184
12Sep 21, 2025 20:318,61293,653,62770,474,0001,006,0002,277,376
13Sep 21, 2025 20:318,62599,643,79970,582,0001,008,0002,281,472
14Sep 21, 2025 20:328,65997,964,43870,869,000998,0002,281,472
15Sep 21, 2025 20:328,665100,326,98669,921,0001,997,0002,281,472
16Sep 21, 2025 20:328,67399,063,26568,988,0002,999,0002,265,088
17Sep 21, 2025 20:318,675102,142,32969,002,0003,000,0002,514,944
18Sep 21, 2025 20:328,681104,084,54971,053,0001,000,0002,523,136