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 6, 2023 10:24Robert BurkeRobert BurkeScore: 7,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2023 10:247,52483,628,96762,447,00002,424,832
2Oct 2, 2023 08:307,52986,082,56961,486,0001,007,0002,277,376
3Oct 2, 2023 08:317,53686,669,42361,539,0001,008,0002,277,376
4Oct 2, 2023 08:307,54296,018,45661,586,0001,009,0002,433,024
5Oct 2, 2023 08:307,54687,786,69561,619,0001,010,0002,441,216
6Oct 2, 2023 08:317,54889,999,67861,638,0001,010,0002,277,376
7Oct 2, 2023 08:317,54987,704,68062,657,00002,277,376
8Oct 2, 2023 08:307,55195,204,15762,675,00002,277,376
9Oct 2, 2023 08:317,55188,999,68061,663,0001,010,0002,277,376
10Oct 2, 2023 08:317,56589,002,60762,793,00002,273,280
11Oct 2, 2023 08:307,56584,743,96860,797,0001,993,0002,510,848
12Nov 6, 2023 10:247,56695,571,49362,798,00002,277,376
13Oct 2, 2023 08:307,56690,816,65162,801,00002,277,376
14Nov 6, 2023 10:247,56794,141,11261,811,000996,0002,277,376
15Nov 6, 2023 10:247,56784,618,37061,812,000996,0002,277,376
16Oct 2, 2023 08:307,56787,832,87861,811,000996,0002,539,520
17Oct 2, 2023 08:307,56789,315,25262,810,00002,428,928
18Oct 2, 2023 08:307,56884,937,02461,816,000997,0002,510,848
19Oct 2, 2023 08:317,56887,639,67861,819,000997,0002,273,280
20Oct 2, 2023 08:317,56893,379,59560,817,0001,994,0002,428,928
21Oct 2, 2023 08:307,56891,677,93961,815,000997,0002,539,520
22Nov 6, 2023 10:247,56886,188,51560,820,0001,994,0002,428,928
23Nov 6, 2023 10:247,56892,429,15161,820,000997,0002,277,376
24Nov 6, 2023 10:247,56892,679,19161,814,000997,0002,433,024
25Oct 2, 2023 08:307,56995,605,86861,825,000997,0002,277,376
26Oct 2, 2023 08:317,56985,118,67560,829,0001,994,0002,277,376
27Oct 2, 2023 08:317,57089,851,88761,836,000997,0002,277,376
28Oct 2, 2023 08:317,57188,153,30861,842,000997,0002,428,928
29Nov 6, 2023 10:247,57185,533,76361,845,000997,0002,428,928
30Oct 2, 2023 08:317,57392,225,07560,861,0001,995,0002,277,376
31Oct 2, 2023 08:317,57386,000,38361,859,000997,0002,277,376
32Nov 6, 2023 10:247,57492,752,79462,864,00002,437,120
33Nov 6, 2023 10:247,58990,285,47061,992,000999,0002,428,928
34Nov 6, 2023 10:247,61184,010,35262,173,0001,002,0002,273,280
35Oct 2, 2023 08:307,62385,794,02262,263,0001,004,0002,539,520
36Nov 6, 2023 10:247,63090,825,04963,332,00002,510,848
37Oct 2, 2023 08:307,854118,593,93065,191,58002,174,976
38Oct 2, 2023 08:307,857122,001,28965,216,92202,174,976
39Nov 6, 2023 10:247,859120,787,61665,228,57502,179,072
40Oct 2, 2023 08:307,861123,562,68665,246,48002,289,664
41Nov 6, 2023 10:247,862117,558,93465,257,02902,297,856
42Oct 2, 2023 08:317,871126,105,82765,331,52902,293,760
43Oct 2, 2023 08:317,872144,904,54965,333,90002,297,856
44Oct 2, 2023 08:317,889129,927,77365,478,14402,301,952
45Nov 6, 2023 10:247,910123,877,53265,655,23702,174,976