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 listMay 25, 2024 12:31GraceGraceScore: 8,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2024 12:317,361131,203,05861,095,55102,293,760
2May 25, 2024 12:317,367118,861,52661,146,65602,277,376
3May 25, 2024 12:317,381125,276,54761,264,76802,293,760
4May 25, 2024 12:317,95392,846,56264,014,0002,000,0002,285,568
5May 25, 2024 12:318,11491,663,65066,341,0001,005,0002,285,568
6May 25, 2024 12:318,11889,112,02666,377,0001,005,0002,273,280
7May 25, 2024 12:318,12195,549,42866,400,0001,006,0002,285,568
8May 25, 2024 12:318,123100,252,47767,425,00002,277,376
9May 25, 2024 12:318,12695,662,18266,443,0001,006,0002,285,568
10May 25, 2024 12:318,13089,456,46266,475,0001,007,0002,269,184
11May 25, 2024 12:318,14399,097,49967,587,00002,523,136
12May 25, 2024 12:318,19490,623,66866,008,0002,000,0002,269,184
13May 25, 2024 12:3110,497111,436,66485,124,0002,002,0002,265,088
14May 25, 2024 12:3110,530112,442,98986,399,0001,004,0002,265,088
15May 25, 2024 12:3110,553108,881,15686,585,0001,006,0002,269,184