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 18:12Karthik 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 18:12020,597,2651,084,00010,741,00024,576expected "53681666752100365 ", got " A2269/1892 B1410 Bu410 C2572 Cu413 D1383 Du396 E1383 Eu397 Au545 s1 0b,10b,233H,234H,235H,236H,237H,238H,239H,240F,241F,242F,243F,244F,245F,246F,247F,248E,249E, "
2Oct 2, 2026 18:12021,500,3961,085,00011,606,00024,576expected "53684582395571947 ", got " A2388/2009 B1550 Bu450 C2683 Cu456 D1526 Du439 E1525 Eu439 Au603 s0 0b,199d,231E,232E,233G,234H,235H,236H,237F,238F,239F,240F,241F,242F,243F,244F,245E,246E,247E,248E,249D, "
3Oct 2, 2026 18:12021,192,9631,088,00011,207,00024,576expected "53691406624156199 ", got " A2363/1987 B1480 Bu431 C2641 Cu434 D1454 Du419 E1453 Eu417 Au573 s1 0b,8c,232H,233H,234H,235H,236H,237H,238G,239F,240F,241F,242F,243F,244F,245F,246F,247F,248E,249D, "