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 23, 2022 09:51Robert BurkeRobert BurkeScore: 8,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 09:518,13998,072,20566,548,0001,008,0002,445,312
2Jul 23, 2022 09:518,14497,465,51866,591,0001,008,0002,277,376
3Jul 23, 2022 09:518,16992,791,05265,806,0001,994,0002,277,376
4Jul 23, 2022 09:518,17093,781,40365,814,0001,994,0002,453,504
5Jul 23, 2022 09:518,17093,610,78765,821,0001,994,0002,449,408
6Jul 23, 2022 09:518,17196,001,76465,823,0001,994,0002,441,216
7Jul 23, 2022 09:518,17292,330,57865,834,0001,994,0002,539,520
8Jul 23, 2022 09:518,17491,920,93166,845,000997,0002,445,312
9Jul 23, 2022 09:518,17594,521,54666,841,0001,012,0002,539,520
10Jul 23, 2022 09:518,17794,779,07765,870,0001,996,0002,277,376
11Jul 23, 2022 09:518,17789,623,98865,873,0001,996,0002,277,376
12Jul 23, 2022 09:518,18291,021,08865,913,0001,997,0002,449,408
13Jul 23, 2022 09:519,650138,942,69380,095,60102,203,648
14Jul 23, 2022 09:519,654133,312,88880,126,85702,191,360
15Jul 23, 2022 09:519,656148,869,43680,145,36602,195,456