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 19, 2026 06:21wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:30Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:30036,940,36527,981,0001,010,0002,113,536expected "74600294196621100 ", got "74833058524271118 "
2Jul 6, 2026 17:30036,550,09927,727,0001,039,0002,113,536expected "74600294196621100 ", got "74833064157229019 "
3Jul 6, 2026 17:30037,884,29529,057,0001,018,0002,113,536expected "74600294196621100 ", got "74535241539302970 "
4Apr 19, 2026 06:223,57758,551,75128,670,0001,023,0002,490,368
5Apr 19, 2026 06:413,59255,648,06927,823,0001,987,0002,277,376
6Apr 19, 2026 06:413,59459,052,73028,836,000994,0002,486,272
7Apr 19, 2026 06:483,59561,677,17127,853,0001,989,0002,490,368
8Apr 19, 2026 06:223,59556,936,32527,849,0001,989,0002,277,376
9Apr 19, 2026 06:223,59561,228,59027,852,0001,989,0002,277,376
10Apr 19, 2026 06:413,59561,808,63727,849,0001,989,0002,277,376
11Apr 19, 2026 06:203,59657,659,81028,854,000994,0002,498,560
12Apr 19, 2026 06:203,59658,679,46928,850,000994,0002,277,376
13Apr 19, 2026 06:203,59655,221,99728,850,000994,0002,277,376
14Apr 19, 2026 06:413,59660,452,03127,858,0001,989,0002,277,376
15Apr 19, 2026 06:413,59654,935,82027,854,0001,989,0002,490,368
16Apr 19, 2026 06:213,59656,616,91827,858,0001,989,0002,494,464
17Apr 19, 2026 06:213,59757,524,33427,867,0001,990,0002,490,368
18Apr 19, 2026 06:223,59762,389,14928,860,000995,0002,269,184
19Apr 19, 2026 06:483,59758,527,12827,863,0001,990,0002,498,560
20Apr 19, 2026 06:203,59856,817,82727,870,0001,990,0002,531,328
21Apr 19, 2026 06:223,59857,206,15127,876,0001,991,0002,490,368
22Apr 19, 2026 06:213,59855,437,11727,872,0001,990,0002,494,464
23Apr 19, 2026 06:213,59851,005,91728,868,000995,0002,277,376
24Apr 19, 2026 06:203,59953,588,06928,842,0001,030,0002,494,464
25Apr 19, 2026 06:413,59954,210,78727,881,0001,991,0002,494,464
26Apr 19, 2026 06:213,60049,990,38627,891,0001,992,0002,277,376
27Apr 19, 2026 06:413,60156,169,67427,896,0001,992,0002,277,376
28Apr 19, 2026 06:213,60156,598,20027,894,0001,992,0002,498,560
29Apr 19, 2026 06:203,60566,310,64127,928,0001,994,0002,531,328
30Apr 19, 2026 06:213,60950,082,06627,959,0001,997,0002,494,464
31Apr 19, 2026 06:203,61456,693,54127,999,0001,999,0002,486,272
32Apr 19, 2026 06:223,61654,593,09428,012,0002,000,0002,277,376
33Apr 19, 2026 06:413,61951,451,22128,036,0002,002,0002,494,464
34Apr 19, 2026 06:223,62152,150,39128,053,0002,003,0002,498,560
35Apr 19, 2026 06:483,62757,392,80329,099,0001,003,0002,277,376
36Apr 19, 2026 06:413,63154,308,43728,130,0002,009,0002,277,376
37Apr 19, 2026 06:203,63250,531,31828,134,0002,009,0002,277,376
38Apr 19, 2026 06:223,65452,318,41429,319,0001,011,0002,482,176
39Apr 19, 2026 06:213,66755,844,69929,419,0001,014,0002,498,560
40Apr 19, 2026 06:173,66756,169,85029,426,0001,014,0002,531,328
41Apr 19, 2026 06:213,67055,262,47629,450,0001,015,0002,486,272
42Apr 19, 2026 06:173,67562,547,86429,485,0001,016,0002,494,464
43Apr 19, 2026 06:183,67655,334,02629,493,0001,017,0002,494,464
44Apr 19, 2026 06:183,68154,577,94629,535,0001,018,0002,478,080
45Apr 19, 2026 06:203,71559,543,33128,848,0001,989,0002,277,376
46Apr 19, 2026 06:173,72954,805,53528,953,0001,996,0002,494,464
47Apr 19, 2026 06:183,73950,034,05929,035,0002,002,0002,269,184
48Apr 19, 2026 06:173,76057,460,00729,196,0002,013,0002,498,560
49Apr 19, 2026 06:213,77254,781,31730,295,0001,009,0002,277,376
50Apr 19, 2026 06:213,78557,967,38230,400,0001,013,0002,273,280
51Apr 19, 2026 06:213,79454,113,04830,475,0001,015,0002,486,272
52Apr 19, 2026 06:223,79855,719,06830,510,0001,017,0002,531,328
53Apr 19, 2026 06:173,80059,215,65930,523,0001,017,0002,494,464
54Apr 19, 2026 06:173,87851,337,85030,175,0002,011,0002,531,328