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 listApr 27, 2024 07:48Anoushk KharangateAnoushk KharangateScore: 241,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2024 07:44241,8312,095,127,7962,007,200,63602,203,648
2Apr 27, 2024 07:48241,8592,061,431,8552,007,433,06702,207,744
3Apr 27, 2024 07:44241,8842,073,655,7782,007,636,37902,207,744
4Apr 27, 2024 07:48241,9202,078,057,1692,007,932,16002,203,648
5Apr 27, 2024 07:44241,9412,068,658,1752,008,110,50602,199,552
6Apr 27, 2024 07:48242,1412,084,125,0902,009,772,79402,211,840