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 listJan 2, 2026 16:39Josu San MartinJosu San MartinScore: 5,929Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 16:395,74578,375,17247,681,00002,375,680
2Jan 2, 2026 16:405,76274,145,45446,825,000996,0002,277,376
3Jan 2, 2026 16:395,81365,292,54547,239,0001,005,0002,359,296
4Jan 2, 2026 16:405,85875,890,13547,610,0001,012,0002,289,664
5Jan 2, 2026 16:405,87974,181,33447,803,000995,0002,293,760
6Jan 2, 2026 16:395,90076,854,53546,968,0001,998,0002,293,760
7Jan 2, 2026 16:405,90075,334,47945,971,0002,998,0002,281,472
8Jan 2, 2026 16:395,90774,849,63247,031,0002,001,0002,355,200
9Jan 2, 2026 16:395,91574,872,17747,094,0002,004,0002,371,584
10Jan 2, 2026 16:405,91675,876,05247,096,0002,004,0002,265,088
11Jan 2, 2026 16:395,91873,602,63648,116,0001,002,0002,375,680
12Jan 2, 2026 16:405,92473,856,02147,162,0002,006,0002,359,296
13Jan 2, 2026 16:395,92972,175,86348,209,0001,004,0002,293,760
14Jan 2, 2026 16:405,96271,477,82949,485,00002,293,760
15Jan 2, 2026 16:395,97372,747,64549,574,00002,293,760
16Jan 2, 2026 16:406,00081,599,98047,810,0001,992,0002,289,664
17Jan 2, 2026 16:406,00275,825,86148,819,000996,0002,457,600
18Jan 2, 2026 16:396,01777,575,68548,945,000998,0002,289,664
19Jan 2, 2026 16:406,02075,706,29347,968,0001,998,0002,363,392
20Jan 2, 2026 16:396,02177,717,11047,976,0001,999,0002,367,488
21Jan 2, 2026 16:396,04976,578,85148,197,0002,008,0002,293,760
22Jan 2, 2026 16:406,05072,888,20148,203,0002,008,0002,367,488
23Jan 2, 2026 16:396,06373,049,81348,307,0002,012,0002,293,760
24Jan 2, 2026 16:406,08377,703,94850,492,00002,289,664