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 listApr 27, 2024 21:21Joad NacerJoad NacerScore: 10,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2024 21:2110,102106,673,29381,854,0001,996,0002,260,992
2Apr 27, 2024 21:2110,103105,831,92281,856,0001,996,0002,285,568
3Apr 27, 2024 21:2110,107105,483,65781,890,0001,997,0002,367,488
4Apr 27, 2024 21:2110,108111,430,19081,899,0001,997,0002,285,568
5Apr 27, 2024 21:2110,120111,179,30581,996,0001,999,0002,285,568
6Apr 27, 2024 21:2110,226109,694,34482,881,0001,997,0002,285,568
7Apr 27, 2024 21:2110,235110,578,74182,949,0001,998,0002,285,568
8Apr 27, 2024 21:2110,397112,097,76585,290,0001,003,0002,285,568
9Apr 27, 2024 21:2110,503110,532,86885,171,0002,004,0002,359,296
10Apr 27, 2024 21:2110,811145,183,44089,733,89102,281,472
11Apr 27, 2024 21:2110,824160,988,64389,840,03602,265,088
12Apr 27, 2024 21:2111,396178,994,92594,587,47602,277,376
13Apr 27, 2024 21:2111,613121,569,97795,384,0001,004,0002,265,088
14Apr 27, 2024 21:2111,624122,454,03495,474,0001,004,0002,260,992
15Apr 27, 2024 21:2111,662127,488,05094,802,0001,995,0002,285,568