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 08:08ZOTTIGZOTTIGScore: 1,543,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2024 08:081,528,40712,767,189,17711,219,650,0001,466,124,000278,528
2Nov 13, 2024 08:081,543,20613,079,745,16711,276,052,0001,532,560,000311,296
3Nov 13, 2024 08:081,573,61913,130,953,61811,408,309,0001,652,726,000270,336