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 13, 2024 06:44Igor ZyginIgor ZyginScore: 91,026Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 10:5589,980771,637,727673,853,00072,984,0002,392,064
2Nov 11, 2024 10:5590,444778,936,364679,719,00070,970,0002,306,048
3Nov 11, 2024 10:5590,644780,856,067679,410,00072,936,0002,535,424
4Nov 13, 2024 06:4490,685782,509,154679,713,00072,969,0002,367,488
5Nov 11, 2024 10:5590,708777,768,910682,891,00069,988,0002,543,616
6Nov 11, 2024 10:5590,787779,985,265674,581,00078,950,0002,535,424
7Nov 11, 2024 10:5590,789783,753,550680,590,00072,956,0002,514,944
8Nov 11, 2024 10:5590,997782,176,849682,348,00072,930,0002,289,664
9Nov 11, 2024 10:5591,007786,393,362679,425,00075,935,0002,326,528
10Nov 11, 2024 10:5591,009782,387,197682,436,00072,939,0002,396,160
11Nov 11, 2024 10:5591,026782,464,964681,564,00073,952,0002,535,424
12Nov 11, 2024 10:5591,086786,987,730679,010,00077,001,0002,543,616
13Nov 11, 2024 10:5591,115785,279,910684,326,00071,929,0002,535,424
14Nov 11, 2024 10:5591,151785,517,845681,601,00074,956,0002,473,984
15Nov 13, 2024 06:4491,207785,437,619680,018,00077,002,0002,326,528
16Nov 13, 2024 06:4491,251786,652,343679,449,00077,936,0002,297,856
17Nov 11, 2024 10:5591,290782,260,245683,733,00073,971,0002,535,424
18Nov 11, 2024 10:5591,592789,827,215681,293,00078,918,0002,412,544
19Nov 11, 2024 10:5592,004794,436,575688,670,00074,964,0002,543,616
20Nov 11, 2024 10:5592,108796,627,625690,544,00073,951,0002,531,328
21Nov 11, 2024 10:5592,202794,587,752687,352,00077,926,0002,457,600