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 listApr 26, 2025 03:29nnScore: 369,684Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 03:29368,7133,094,526,1192,988,359,00071,960,0002,281,472
2Apr 26, 2025 03:29369,6843,091,488,6953,011,411,00056,969,0002,355,200
3Apr 26, 2025 03:29369,9973,098,848,4672,993,025,00077,948,0002,367,488