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 listAug 9, 2025 09:11Ashish AhujaAshish AhujaScore: 2,315,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2025 09:112,313,48919,246,861,10818,840,170,000361,792,0002,428,928
2Aug 9, 2025 09:142,314,18019,256,975,81518,814,904,000392,789,0002,412,544
3Aug 9, 2025 09:102,314,29919,252,725,91118,824,931,000383,753,0002,424,832
4Aug 9, 2025 09:102,314,81419,262,349,82118,860,125,000352,833,0002,449,408
5Aug 9, 2025 09:072,315,00419,269,676,32118,858,725,000355,806,0002,433,024
6Aug 9, 2025 09:132,315,11219,257,987,35318,830,643,000384,788,0002,424,832
7Aug 9, 2025 09:072,315,12219,260,297,89018,837,761,000377,754,0002,420,736
8Aug 9, 2025 09:132,315,47319,252,315,26118,905,553,000312,876,0002,416,640
9Aug 9, 2025 09:142,315,68219,268,810,84618,835,381,000384,783,0002,486,272
10Aug 9, 2025 09:072,316,37719,271,099,40618,852,128,000373,804,0002,408,448
11Aug 9, 2025 09:112,317,22919,281,755,41018,888,198,000344,802,0002,383,872
12Aug 9, 2025 09:102,317,47919,274,060,39518,859,287,000375,786,0002,457,600
13Aug 9, 2025 09:132,318,65719,291,069,42918,893,039,000351,814,0002,416,640
14Aug 9, 2025 09:112,339,84019,466,217,94519,049,849,000370,821,0002,412,544
15Aug 9, 2025 09:142,527,45321,023,141,25420,631,080,000346,782,0002,433,024