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 listAug 16, 2026 15:32marko1597marko1597Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 15:320302,799,659292,506,0001,137,0002,121,728expected "53685344649344258 ", got "53685321255564877 "stderr
2Aug 16, 2026 15:320306,595,732296,439,0001,136,0002,121,728expected "53689639656671623 ", got "53689621087084818 "stderr
3Aug 16, 2026 15:320312,102,108301,832,0001,161,0002,121,728expected "53682374052654950 ", got "53682346284633439 "stderr