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 1, 2025 01:03CCScore: 51,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2025 20:3351,131450,637,880423,389,0001,000,0002,273,280
2Jun 30, 2025 20:3351,135450,468,846424,417,00002,289,664
3Jul 1, 2025 01:0551,145455,023,547423,506,000998,0002,277,376
4Jul 1, 2025 01:0551,146450,948,209423,510,0001,001,0002,404,352
5Jun 30, 2025 20:3351,155449,246,352422,591,0001,998,0002,289,664
6Jun 30, 2025 20:3351,155451,320,600422,592,0001,998,0002,281,472
7Jun 30, 2025 20:3351,156448,092,548423,593,000999,0002,281,472
8Jun 30, 2025 20:3351,159449,928,397422,621,0001,998,0002,289,664
9Jun 30, 2025 20:3351,160450,925,778423,631,000999,0002,281,472
10Jul 1, 2025 01:0351,160447,839,095422,628,0001,998,0002,289,664
11Jul 1, 2025 01:0351,160456,567,514422,629,0001,998,0002,281,472
12Jul 1, 2025 01:0551,160451,099,886422,628,0001,998,0002,269,184
13Jul 1, 2025 01:0351,165449,489,407423,672,000999,0002,265,088
14Jun 30, 2025 20:3351,189452,342,416422,870,0001,999,0002,269,184
15Jun 30, 2025 20:3351,191448,283,032422,888,0001,999,0002,289,664