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 listNov 11, 2024 20:26ivanivanScore: 64,891Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 20:2664,832559,445,502474,095,00064,012,0002,285,568
2Nov 11, 2024 20:2864,839565,429,803470,145,00068,021,0002,285,568
3Nov 11, 2024 20:2864,858566,074,419475,281,00063,037,0002,293,760
4Nov 11, 2024 20:2664,891563,988,388478,638,00059,954,0002,293,760
5Nov 11, 2024 20:2664,892569,559,931478,647,00059,955,0002,437,120
6Nov 11, 2024 20:2864,895568,101,940480,666,00057,959,0002,293,760