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 listSep 4, 2023 14:15Ignas BagdonasIgnas BagdonasScore: 13,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2023 14:1513,588171,767,791112,780,08902,285,568
2Sep 4, 2023 14:1513,605184,595,687112,923,24302,289,664
3Sep 4, 2023 14:1513,623182,856,328113,068,23802,281,472
4Sep 4, 2023 14:1513,749137,673,415112,113,0002,002,0002,273,280
5Sep 4, 2023 14:1513,755141,927,133114,163,00002,273,280
6Sep 4, 2023 14:1513,769136,390,492112,276,0002,004,0002,273,280
7Sep 4, 2023 14:1513,777144,654,346112,345,0002,006,0002,273,280
8Sep 4, 2023 14:1513,781136,533,422112,374,0002,006,0002,269,184
9Sep 4, 2023 14:1513,793137,078,769112,475,0002,008,0002,273,280
10Sep 4, 2023 14:1513,806144,153,038113,582,0001,005,0002,273,280
11Sep 4, 2023 14:1513,849142,913,275113,951,000999,0002,273,280
12Sep 4, 2023 14:1513,982144,848,782114,053,0002,000,0002,273,280