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 listJun 3, 2021 22:36evgenikwtevgenikwtScore: 33,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 22:3633,381346,544,868277,060,34302,256,896
2Jun 4, 2021 04:0933,384335,628,440277,089,92502,273,280
3Jun 4, 2021 04:0933,386345,124,322277,105,56502,265,088
4Jun 3, 2021 22:3633,393334,569,480277,160,49302,265,088
5Jun 4, 2021 04:0933,408331,150,541277,285,21702,269,184
6Jun 3, 2021 22:3634,737346,014,092288,319,84702,265,088