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 listOct 2, 2026 19:34Karthik ReddyKarthik ReddyError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 19:34026,135,6232,015,00015,296,00024,576expected "53687809955531302 ", got " A3075/2704 B2444 Bu1104 C3168 Cu790 D1965 Du654 E1918 Eu599 Au783 s0 0b,2b,197b,226H,227H,228H,229H,230H,231H,232H,233H,234H,235G,236H,237F,238F,239F,240F,241F,242F,243F,244F,245F,246F,247F,248F,249D, "
2Oct 2, 2026 19:34025,694,2632,018,00014,885,00024,576expected "53693402544197392 ", got " A2983/2614 B2378 Bu1057 C3146 Cu765 D1953 Du651 E1916 Eu597 Au779 s1 0b,226H,227H,228H,229H,230H,231H,232H,233G,234F,235F,236F,237F,238F,239F,240F,241F,242F,243F,244F,245F,246F,247E,248E,249E, "
3Oct 2, 2026 19:34028,005,6022,016,00015,069,00024,576expected "53693672249651407 ", got " A3027/2658 B2410 Bu1082 C3169 Cu783 D1966 Du658 E1931 Eu604 Au789 s0 0b,52d,226H,227H,228H,229H,230H,231H,232H,233H,234F,235F,236F,237F,238F,239F,240F,241F,242F,243F,244F,245F,246F,247F,248F,249E, "