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 31, 2022 03:34Robert BurkeRobert BurkeScore: 8,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2022 03:348,11291,477,08965,320,0002,009,0002,428,928
2Jul 31, 2022 03:348,12290,808,43966,405,0001,006,0002,428,928
3Jul 31, 2022 03:348,12389,280,14065,406,0002,012,0002,277,376
4Jul 31, 2022 03:348,12599,798,91366,428,0001,006,0002,424,832
5Jul 31, 2022 03:348,12588,399,17366,432,0001,006,0002,428,928
6Jul 31, 2022 03:348,12685,719,26167,446,00002,273,280
7Jul 31, 2022 03:348,13486,520,51667,514,00002,441,216
8Jul 31, 2022 03:348,13684,876,39366,522,0001,007,0002,277,376
9Jul 31, 2022 03:348,13995,359,27766,545,0001,008,0002,510,848
10Jul 31, 2022 03:348,145100,643,71467,602,00002,277,376
11Jul 31, 2022 03:348,21793,237,01867,200,0001,002,0002,539,520
12Jul 31, 2022 03:348,22886,808,10766,282,0002,008,0002,277,376
13Jul 31, 2022 03:348,904129,812,68673,903,20202,179,072
14Jul 31, 2022 03:348,905125,418,28373,908,18302,174,976
15Jul 31, 2022 03:348,913123,552,24373,980,91402,187,264