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 14, 2024 22:40zielajzielajScore: 3,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 15, 2024 00:383,89954,113,12530,337,0002,022,0002,441,216
2Nov 15, 2024 00:383,90554,450,52631,399,0001,012,0002,363,392
3Nov 15, 2024 00:383,90855,356,13832,436,00002,535,424
4Nov 15, 2024 00:383,90956,568,29932,444,00002,535,424
5Nov 15, 2024 00:383,91056,636,98532,453,00002,535,424
6Nov 14, 2024 22:403,91149,367,82332,463,00002,367,488
7Nov 15, 2024 00:383,91152,357,86931,444,0001,014,0002,359,296
8Nov 15, 2024 00:383,91353,480,99732,481,00002,273,280
9Nov 14, 2024 22:403,91558,560,88332,498,00002,535,424
10Nov 15, 2024 00:383,92063,505,17731,518,0001,016,0002,359,296
11Nov 14, 2024 22:403,92258,709,99132,555,00002,363,392
12Nov 15, 2024 00:383,92554,996,06632,574,00002,363,392
13Nov 14, 2024 22:403,95762,861,27131,848,000995,0002,359,296
14Nov 15, 2024 00:383,95958,775,71831,868,000995,0002,277,376
15Nov 15, 2024 00:383,96766,157,70330,934,0001,995,0002,277,376
16Nov 14, 2024 22:403,97058,414,92831,953,000998,0002,359,296
17Nov 14, 2024 22:403,97558,333,91831,991,000999,0002,363,392
18Nov 15, 2024 00:383,98054,536,26631,029,0002,001,0002,277,376