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 listOct 23, 2024 15:04Serge SmirnovSerge SmirnovError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 19:2500000Error: expected "53691241868039337 ", got "53691239308039337 "
2Oct 23, 2024 15:0700000Error: expected "53688038166180617 ", got "53688035606180617 "
3Oct 23, 2024 15:0400000Error: expected "53687941252909920 ", got "53687941252653920 "
4Oct 23, 2024 15:0300000Error: expected "53690561011477634 ", got "53690558451477634 "
5Nov 10, 2024 19:2328,897270,178,473237,847,0001,998,0002,293,760
6Oct 23, 2024 15:0828,897266,314,300237,846,0001,998,0002,289,664
7Oct 23, 2024 15:0828,898263,012,571238,857,000999,0002,281,472
8Nov 10, 2024 19:1328,900262,498,750237,872,0001,998,0002,293,760
9Oct 23, 2024 15:0828,900265,892,977237,868,0001,998,0002,289,664
10Oct 23, 2024 15:0428,901268,111,478237,880,0001,998,0002,273,280
11Nov 10, 2024 19:2228,901270,649,150237,879,0001,998,0002,531,328
12Oct 23, 2024 15:0828,903268,428,004237,899,0001,999,0002,523,136
13Nov 10, 2024 19:2228,907264,051,791237,925,0001,999,0002,531,328
14Nov 10, 2024 19:2328,908263,108,842238,940,000999,0002,387,968
15Oct 23, 2024 15:0828,908264,219,939237,937,0001,999,0002,289,664
16Nov 10, 2024 19:1328,909269,553,952237,949,0001,999,0002,527,232
17Nov 10, 2024 19:1328,912265,361,566237,967,0001,999,0002,293,760
18Oct 23, 2024 15:0428,912263,244,687238,974,000999,0002,289,664
19Oct 23, 2024 15:0428,913268,862,236237,980,0001,999,0002,265,088
20Oct 23, 2024 15:0828,917272,867,443238,008,0002,000,0002,269,184
21Nov 10, 2024 19:2328,917264,333,264239,012,0001,000,0002,293,760
22Oct 23, 2024 15:0428,917267,757,925238,012,0002,000,0002,535,424
23Nov 10, 2024 19:2228,918266,037,995238,016,0002,000,0002,351,104
24Oct 23, 2024 15:0428,919264,280,261238,028,0002,000,0002,285,568
25Oct 23, 2024 15:0828,920263,244,727238,040,0002,000,0002,289,664
26Oct 23, 2024 15:0428,920267,128,747238,037,0002,000,0002,289,664
27Oct 23, 2024 15:0828,922266,026,969238,056,0002,000,0002,531,328
28Oct 23, 2024 15:0828,923266,702,543238,063,0002,000,0002,523,136
29Oct 23, 2024 15:0428,923266,674,420238,063,0002,000,0002,527,232
30Oct 23, 2024 15:0428,927267,294,898238,093,0002,000,0002,289,664
31Oct 23, 2024 15:0428,927263,233,440239,091,0001,000,0002,289,664