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 listJan 27, 2023 12:39unsatcoreunsatcoreScore: 12,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 27, 2023 12:3911,551156,177,80895,869,86402,269,184
2Jan 27, 2023 12:3811,600171,241,67296,276,53902,281,472
3Jan 27, 2023 12:3811,617166,693,23496,420,20202,281,472
4Jan 27, 2023 12:3911,637165,253,58196,590,28402,273,280
5Jan 27, 2023 12:3911,641158,506,18596,624,00002,281,472
6Jan 27, 2023 12:3811,694154,804,56697,064,00402,281,472
7Jan 27, 2023 12:3812,627128,276,836101,813,0002,994,0002,531,328
8Jan 27, 2023 12:3812,632128,285,233101,853,0002,995,0002,383,872
9Jan 27, 2023 12:3912,635127,973,722102,870,0001,997,0002,269,184
10Jan 27, 2023 12:3912,638129,528,124102,897,0001,998,0002,531,328
11Jan 27, 2023 12:3912,641130,094,537102,921,0001,998,0002,269,184
12Jan 27, 2023 12:3812,647128,159,045103,972,000999,0002,260,992
13Jan 27, 2023 12:3812,647127,606,321102,967,0001,999,0002,269,184
14Jan 27, 2023 12:3912,656127,286,712103,043,0002,000,0002,519,040
15Jan 27, 2023 12:3812,661134,296,919102,084,0003,002,0002,531,328
16Jan 27, 2023 12:3912,662128,857,860102,095,0003,002,0002,510,848
17Jan 27, 2023 12:3812,663127,106,333103,098,0002,001,0002,269,184
18Jan 27, 2023 12:3912,673127,952,937103,182,0002,003,0002,531,328
19Jan 27, 2023 12:3912,696133,083,615102,365,0003,010,0002,269,184
20Jan 27, 2023 12:3812,744130,797,486102,781,0002,993,0002,265,088
21Jan 27, 2023 12:3912,757127,664,486103,888,0001,997,0002,273,280
22Jan 27, 2023 12:3812,760132,491,828104,909,000999,0002,269,184
23Jan 27, 2023 12:3912,765129,887,615103,950,0001,999,0002,265,088
24Jan 27, 2023 12:3812,993131,459,950104,845,0002,995,0002,531,328