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 listMar 18, 2026 01:41Elijah KinElijah KinScore: 52,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2026 01:4152,017457,213,061429,740,0001,998,0002,273,280
2Mar 18, 2026 01:4152,019457,391,921429,761,0001,998,0002,273,280
3Mar 18, 2026 01:5252,021453,667,599428,774,0002,998,0002,273,280
4Mar 18, 2026 01:5252,024454,744,684429,800,0001,999,0002,273,280
5Mar 18, 2026 01:4152,028451,359,132429,831,0001,999,0002,273,280
6Mar 18, 2026 01:4152,034458,143,883429,887,0001,999,0002,273,280
7Mar 18, 2026 01:4152,035458,680,858429,888,0001,999,0002,273,280
8Mar 18, 2026 01:5252,039460,819,815430,927,000999,0002,273,280
9Mar 18, 2026 01:4152,046453,280,910428,983,0002,999,0002,273,280
10Mar 18, 2026 01:4152,069462,060,122430,180,0001,996,0002,265,088
11Mar 18, 2026 01:4152,082459,961,567431,279,0001,000,0002,273,280
12Mar 18, 2026 01:4152,088452,517,897431,334,0001,000,0002,273,280