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 29, 2023 17:23Altynbek SharipovAltynbek SharipovScore: 93,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 29, 2023 20:2393,172843,115,141773,331,68802,236,416
2Mar 29, 2023 20:2393,180839,556,860773,396,05402,236,416
3Mar 29, 2023 17:2393,190824,940,153773,477,62902,236,416
4Mar 29, 2023 17:2393,191838,503,168773,481,46902,236,416
5Mar 29, 2023 17:2393,196830,140,199773,526,44702,240,512
6Mar 29, 2023 20:2393,502846,132,798776,064,52702,232,320