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 10, 2026 18:18Lan Hoang DaoLan Hoang DaoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2026 18:180753,111,941677,750,00065,156,0002,113,536expected "53682250513632933 ", got "53242221155469770 "
2Aug 10, 2026 18:180754,312,044678,467,00065,105,0002,113,536expected "53685081795691647 ", got "53245307128757797 "
3Aug 10, 2026 18:180752,366,335677,859,00064,206,0002,113,536expected "53691186982221159 ", got "53250729273630165 "