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 listNov 12, 2024 11:59Alexander KosachevAlexander KosachevScore: 133,115Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 11:59133,0551,131,596,9691,102,355,0001,998,0002,281,472
2Nov 12, 2024 11:59133,0741,124,963,3411,102,515,0001,999,0002,535,424
3Nov 12, 2024 11:59133,0751,124,109,2571,102,526,0001,999,0002,281,472
4Nov 12, 2024 11:59133,0811,130,203,6661,102,570,0001,999,0002,281,472
5Nov 12, 2024 11:59133,1151,124,051,1301,103,859,000999,0002,482,176
6Nov 12, 2024 11:59133,1161,129,720,3361,103,862,000999,0002,535,424
7Nov 12, 2024 11:59133,1321,128,964,7461,102,999,0001,998,0002,482,176
8Nov 12, 2024 11:59133,1361,133,323,5951,103,029,0001,998,0002,281,472
9Nov 12, 2024 11:59133,1491,127,199,2791,103,142,0001,998,0002,281,472