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 11, 2024 09:39ZOTTIGZOTTIGScore: 264,093Success
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 09:39263,7052,214,916,1522,099,803,00088,949,0002,486,272
2Nov 11, 2024 09:39264,0492,220,976,9512,091,627,00099,982,0002,486,272
3Nov 11, 2024 09:39264,0542,220,779,6842,093,710,00097,939,0002,498,560
4Nov 11, 2024 09:39264,0822,213,388,5712,103,924,00087,955,0002,326,528
5Nov 11, 2024 09:39264,0932,222,534,4472,078,028,000113,946,0002,330,624
6Nov 11, 2024 09:39264,4632,218,662,1362,093,090,000101,955,0002,310,144
7Nov 11, 2024 09:39264,5832,230,944,9012,085,086,000110,951,0002,326,528
8Nov 11, 2024 09:39264,5962,239,414,0582,098,141,00098,006,0002,330,624
9Nov 11, 2024 09:39265,0562,227,380,2472,102,009,00097,953,0002,490,368