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 25, 2024 10:29matsuoka-601matsuoka-601Score: 29,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 10:2929,333324,306,180243,460,05302,293,760
2Jul 25, 2024 10:2929,356307,012,458243,657,04402,293,760
3Jul 25, 2024 10:2929,364315,942,419243,717,92502,297,856
4Jul 25, 2024 10:2929,368272,822,340242,755,000998,0002,269,184
5Jul 25, 2024 10:2929,383271,192,159241,880,0001,999,0002,273,280
6Jul 25, 2024 10:2929,396269,136,925241,988,0001,999,0002,265,088
7Jul 25, 2024 10:2929,404269,374,632243,050,0001,000,0002,269,184
8Jul 25, 2024 10:2929,408266,637,705242,084,0002,000,0002,277,376
9Jul 25, 2024 10:2929,408270,554,765242,085,0002,000,0002,269,184
10Jul 25, 2024 10:2929,426267,981,396242,238,0002,001,0002,269,184
11Jul 25, 2024 10:2929,430270,510,199243,264,0001,001,0002,273,280
12Jul 25, 2024 10:2929,445267,018,641243,393,0001,001,0002,285,568