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 20, 2024 21:56Andrey LikhachevAndrey LikhachevScore: 11,990Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 21:5611,698117,624,61095,090,0002,001,0002,367,488
2Jul 20, 2024 21:5611,702123,850,66496,128,0001,001,0002,285,568
3Jul 20, 2024 21:5611,718120,175,95296,259,0001,002,0002,371,584
4Jul 20, 2024 21:5611,971132,063,56098,356,0001,003,0002,285,568
5Jul 20, 2024 21:5611,972122,848,20899,371,00002,367,488
6Jul 20, 2024 21:5611,984122,590,59399,466,00002,375,680
7Jul 20, 2024 21:5611,987126,720,92898,484,0001,004,0002,285,568
8Jul 20, 2024 21:5611,990125,659,96298,516,0001,005,0002,473,984
9Jul 20, 2024 21:5611,991129,159,09599,526,00002,367,488
10Jul 20, 2024 21:5611,994126,320,36598,547,0001,005,0002,371,584
11Jul 20, 2024 21:5611,996125,311,41198,560,0001,005,0002,490,368
12Jul 20, 2024 21:5612,026126,746,16597,816,0001,996,0002,285,568
13Jul 20, 2024 21:5612,157166,672,706100,905,04602,224,128
14Jul 20, 2024 21:5612,157166,208,081100,901,70702,236,416
15Jul 20, 2024 21:5612,179161,899,878101,085,91302,236,416