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 20, 2026 23:50Genos0Genos0Score: 55,146Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2026 23:5154,650462,781,032452,430,0001,170,0002,113,536
2Nov 20, 2026 23:5154,660463,371,237452,674,0001,010,0002,113,536
3Nov 20, 2026 23:5154,663462,842,000452,536,0001,167,0002,113,536
4Nov 20, 2026 23:5154,942465,200,483454,845,0001,178,0002,113,536
5Nov 20, 2026 23:5155,146466,961,050456,684,0001,034,0002,113,536
6Nov 20, 2026 23:5155,745471,946,746461,654,0001,033,0002,113,536
7Nov 20, 2026 23:5155,785472,289,636462,018,0001,003,0002,113,536
8Nov 20, 2026 23:5155,813472,509,490462,210,0001,042,0002,113,536
9Nov 20, 2026 23:5155,837472,994,193462,215,0001,240,0002,113,536