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 22:17Karthik 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 22:17023,499,7852,016,00012,742,00024,576expected "53685832625676244 ", got " A2778/2408 B1842 Bu537 C2979 Cu543 D1814 Du526 E1808 Eu525 Au744 s0 0b,227F,228G,229H,230H,231H,232G,233F,234F,235F,236F,237F,238F,239F,240F,241E,242E,243E,244E,245E,246E,247E,248E,249E, "
2Oct 2, 2026 22:17025,112,5482,013,00014,183,00024,576expected "53682333028425564 ", got " A2833/2467 B2241 Bu975 C3076 Cu733 D1875 Du623 E1841 Eu576 Au752 s0 0b,227I,228H,229H,230H,231H,232H,233F,234F,235F,236F,237F,238F,239F,240F,241E,242E,243E,244E,245E,246E,247E,248E,249E, "
3Oct 2, 2026 22:17025,389,5882,018,00014,592,00024,576expected "53683156998237501 ", got " A2880/2507 B2297 Bu999 C3125 Cu747 D1948 Du646 E1912 Eu601 Au783 s0 0b,226G,227H,228H,229H,230H,231F,232F,233F,234F,235F,236F,237F,238F,239E,240E,241E,242E,243E,244E,245E,246E,247E,248E,249E, "