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 25, 2024 03:03UdbhavUdbhavScore: 11,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 03:0311,159118,694,31991,615,0001,006,0002,285,568
2Jul 25, 2024 03:0311,161115,920,79992,636,00002,285,568
3Jul 25, 2024 03:0311,174119,426,64690,750,0001,994,0002,338,816
4Jul 25, 2024 03:0311,178119,017,97891,778,000997,0002,457,600
5Jul 25, 2024 03:0311,185121,968,11591,841,000998,0002,347,008
6Jul 25, 2024 03:0311,187125,577,43190,853,0001,996,0002,351,104
7Jul 25, 2024 03:0311,239115,580,25092,277,0001,003,0002,359,296
8Jul 25, 2024 03:0311,263120,720,36692,479,0001,005,0002,285,568
9Jul 25, 2024 03:0311,296119,752,72992,763,000997,0002,285,568
10Jul 25, 2024 03:0311,299122,441,31991,785,0001,995,0002,285,568
11Jul 25, 2024 03:0311,304121,231,03291,831,0001,996,0002,285,568
12Jul 25, 2024 03:0311,347116,860,93890,173,0004,007,0002,453,504
13Jul 25, 2024 03:0311,493173,887,51895,393,13802,211,840
14Jul 25, 2024 03:0311,498164,123,56595,431,30002,211,840
15Jul 25, 2024 03:0311,520165,956,44295,615,73702,211,840