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 listMar 16, 2026 11:50Eric CeglieEric CeglieScore: 8,965Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2026 11:298,90999,648,74371,948,0001,998,0002,310,144
2Mar 16, 2026 11:298,926101,798,05872,082,0002,002,0002,310,144
3Mar 16, 2026 11:508,932104,859,35672,136,0002,003,0002,314,240
4Mar 16, 2026 11:298,965102,064,15271,396,0003,016,0002,289,664
5Mar 16, 2026 11:509,09299,925,18573,451,0002,012,0002,318,336
6Mar 16, 2026 11:509,148104,359,67673,934,0001,998,0002,310,144