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 listMar 17, 2026 02:42zielajzielajScore: 3,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2026 22:503,47851,688,86826,875,0001,990,0002,523,136
2Mar 16, 2026 22:503,48049,937,90027,851,0001,031,0002,445,312
3Mar 16, 2026 22:513,48947,473,47226,965,0001,997,0002,441,216
4Mar 16, 2026 22:503,49548,259,15927,010,0002,000,0002,486,272
5Mar 16, 2026 22:513,49752,162,15227,025,0002,001,0002,453,504
6Mar 17, 2026 02:423,49847,387,65227,032,0002,002,0002,437,120
7Mar 16, 2026 22:503,50057,812,57427,048,0002,003,0002,453,504
8Mar 16, 2026 22:503,50250,250,96527,065,0002,004,0002,441,216
9Mar 17, 2026 02:423,50355,892,84627,067,0002,005,0002,523,136
10Mar 16, 2026 22:503,50549,908,76027,087,0002,006,0002,441,216
11Mar 17, 2026 02:433,50749,590,86927,099,0002,007,0002,445,312
12Mar 17, 2026 02:433,51047,454,48227,124,0002,009,0002,523,136
13Mar 16, 2026 22:513,51458,707,96927,155,0002,011,0002,523,136
14Mar 16, 2026 22:503,51650,409,46427,173,0002,012,0002,519,040
15Mar 16, 2026 22:503,51649,635,59827,168,0002,012,0002,523,136
16Mar 17, 2026 02:423,51749,387,31127,180,0002,013,0002,445,312
17Mar 17, 2026 02:433,51956,587,13627,197,0002,014,0002,449,408
18Mar 17, 2026 02:423,52156,627,70427,213,0002,015,0002,445,312
19Mar 16, 2026 22:503,52349,908,75127,221,0002,016,0002,523,136
20Mar 17, 2026 02:423,52447,600,68127,229,0002,017,0002,523,136
21Mar 17, 2026 02:423,54251,529,74828,383,0001,013,0002,523,136