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 listJul 9, 2021 10:15Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 91,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2021 20:0391,054811,416,315755,746,67702,211,840
2Jul 9, 2021 20:0391,055835,132,827755,758,34202,215,936
3Jul 9, 2021 20:0391,055819,730,710755,756,30602,215,936
4Jul 9, 2021 10:1591,058812,783,093755,780,75502,215,936
5Jul 8, 2021 23:2391,059820,144,291755,791,46502,220,032
6Jul 13, 2021 16:5191,059815,881,352755,793,11302,207,744
7Jul 8, 2021 23:2391,060818,112,538755,800,81702,203,648
8Jul 8, 2021 23:2391,065806,755,850755,837,58702,220,032
9Jul 13, 2021 16:5191,065818,475,285755,840,29102,211,840
10Jul 13, 2021 16:5191,069816,575,093755,872,70402,215,936
11Jul 9, 2021 10:1591,070812,716,497755,879,20102,224,128
12Jul 9, 2021 10:1591,080822,509,927755,961,06802,215,936