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 listMay 20, 2021 10:50Andrei GrazhdankovAndrei GrazhdankovScore: 67,730Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2021 10:5067,660611,406,198561,574,72602,306,048
2May 20, 2021 10:5067,689622,374,355561,820,61502,306,048
3May 21, 2021 09:5067,695636,350,863561,869,32502,310,144
4May 20, 2021 10:5067,701614,915,522561,917,63002,306,048
5May 21, 2021 09:5067,701624,193,445561,915,30202,183,168
6May 20, 2021 10:5067,712627,735,841562,013,71702,306,048
7May 21, 2021 09:5067,730632,370,605562,160,75302,187,264
8May 20, 2021 10:5067,760628,574,778562,405,91602,310,144
9May 20, 2021 10:5067,766624,291,957562,456,03902,310,144
10May 20, 2021 10:5067,796630,334,368562,709,19002,183,168
11May 20, 2021 10:5067,836622,854,860563,037,74702,314,240
12May 20, 2021 10:5067,840633,058,228563,074,99102,187,264