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 23, 2026 20:29zielajzielajScore: 3,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 23, 2026 20:273,49456,750,41726,998,0001,999,0002,527,232
2Mar 23, 2026 01:593,50455,088,41127,076,0002,005,0002,441,216
3Mar 23, 2026 20:273,50457,474,95827,078,0002,005,0002,437,120
4Mar 23, 2026 20:273,50648,612,52227,092,0002,006,0002,523,136
5Mar 23, 2026 20:273,51053,127,36428,129,0001,004,0002,531,328
6Mar 23, 2026 20:283,52551,434,13128,250,0001,008,0002,519,040
7Mar 23, 2026 20:273,52752,045,80728,262,0001,009,0002,441,216
8Mar 23, 2026 01:593,52853,529,44728,271,0001,009,0002,445,312
9Mar 23, 2026 20:273,54053,763,39828,366,0001,013,0002,510,848
10Mar 23, 2026 20:283,54049,560,38028,373,0001,013,0002,441,216
11Mar 23, 2026 01:593,55248,106,92528,469,0001,016,0002,531,328
12Mar 23, 2026 20:283,61153,707,43527,975,0001,998,0002,437,120
13Mar 23, 2026 20:293,71666,012,02928,851,0001,989,0002,527,232
14Mar 23, 2026 20:293,71659,681,14029,848,000994,0002,437,120
15Mar 23, 2026 20:293,73951,172,79029,032,0002,002,0002,527,232