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 listNov 11, 2024 10:51Igor ZyginIgor ZyginScore: 167,755Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 08:58167,6431,416,645,3871,330,463,00060,975,0002,437,120
2Nov 11, 2024 10:51167,6581,429,035,5991,337,618,00053,944,0002,330,624
3Nov 11, 2024 08:58167,6731,424,886,3241,326,704,00064,985,0002,330,624
4Nov 11, 2024 08:58167,6791,421,935,6181,331,747,00059,988,0002,330,624
5Nov 11, 2024 08:58167,6821,423,448,2001,335,774,00055,990,0002,330,624
6Nov 11, 2024 08:58167,7321,423,109,8401,335,208,00056,966,0002,433,024
7Nov 11, 2024 10:51167,7341,426,240,4431,332,227,00059,965,0002,433,024
8Nov 11, 2024 10:51167,7431,416,735,4241,342,295,00049,973,0002,330,624
9Nov 11, 2024 08:58167,7451,419,920,8451,328,316,00063,967,0002,330,624
10Nov 11, 2024 10:51167,7551,413,685,1331,340,392,00051,976,0002,437,120
11Nov 11, 2024 08:58167,7651,419,280,5181,326,477,00065,973,0002,433,024
12Nov 11, 2024 10:51167,7671,417,049,3201,339,484,00052,979,0002,330,624
13Nov 11, 2024 08:58167,7891,426,515,6701,348,663,00043,989,0002,330,624
14Nov 11, 2024 08:58167,7931,415,814,6271,328,697,00063,985,0002,441,216
15Nov 11, 2024 10:51167,8031,421,509,4531,347,809,00044,960,0002,330,624
16Nov 11, 2024 10:51167,8191,420,557,0911,335,943,00056,954,0002,330,624
17Nov 11, 2024 10:51167,8311,422,889,2271,333,041,00059,956,0002,334,720
18Nov 11, 2024 10:51167,9031,420,400,0491,329,618,00063,981,0002,330,624