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, 2026 04:01mxzillimxzilliError
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, 2026 04:020467,498,075454,941,0001,153,0002,117,632expected "53688202546569340 ", got "10013002709180315027502690543054305630562 "
2Nov 13, 2026 04:020466,364,736454,541,0001,096,0002,117,632expected "53685601790088579 ", got "10013002709180316027402680543054405600560 "
3Nov 13, 2026 04:020466,975,808455,115,0001,067,0002,117,632expected "53684150360882527 ", got "10013002709180315027102660543054405670565 "