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 8, 2021 10:00Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 881,380Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 10:00872,7747,335,214,5317,244,027,43302,207,744
2Jul 8, 2021 09:58872,8907,308,136,2847,244,989,09702,203,648
3Jul 8, 2021 09:58875,7207,320,345,6087,268,472,37002,211,840
4Jul 8, 2021 09:58876,7227,336,393,3377,276,795,16402,199,552
5Jul 8, 2021 10:00881,3807,388,886,6747,315,453,95302,207,744
6Jul 8, 2021 10:00886,1577,425,547,4267,355,101,50002,220,032
7Jul 8, 2021 10:00891,4557,468,652,2737,399,076,57402,203,648
8Jul 8, 2021 10:00892,2947,467,291,7467,406,044,04502,211,840
9Jul 8, 2021 10:00893,7877,470,511,2637,418,429,55802,220,032