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 listJun 3, 2024 04:51GraceGraceScore: 6,021Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2024 04:516,00581,904,01347,846,0001,993,0002,273,280
2Jun 3, 2024 04:516,00675,704,39847,857,0001,994,0002,392,064
3Jun 3, 2024 04:516,01272,091,60947,905,0001,996,0002,273,280
4Jun 3, 2024 04:516,01373,110,11748,911,000998,0002,273,280
5Jun 3, 2024 04:516,01672,327,54647,935,0001,997,0002,408,448
6Jun 3, 2024 04:516,01673,614,77447,934,0001,997,0002,273,280
7Jun 3, 2024 04:516,01771,307,72647,946,0001,997,0002,396,160
8Jun 3, 2024 04:516,02170,105,12547,977,0001,999,0002,412,544
9Jun 3, 2024 04:516,02174,813,30447,978,0001,999,0002,400,256
10Jun 3, 2024 04:516,02173,505,08747,975,0001,998,0002,400,256
11Jun 3, 2024 04:516,02277,949,71248,984,000999,0002,273,280
12Jun 3, 2024 04:516,02571,377,03049,007,0001,000,0002,400,256
13Jun 3, 2024 04:516,223135,356,60551,654,44702,281,472
14Jun 3, 2024 04:516,324120,535,94852,489,01902,285,568
15Jun 3, 2024 04:516,324118,654,68152,491,03002,281,472