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 14, 2024 02:47zielajzielajScore: 7,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 02:475,88384,402,91045,843,0002,989,0002,469,888
2Nov 14, 2024 02:475,89470,868,99346,927,0001,996,0002,322,432
3Nov 14, 2024 02:475,92469,202,86748,165,0001,003,0002,310,144
4Nov 14, 2024 02:477,03583,660,35358,388,00002,510,848
5Nov 14, 2024 02:477,08687,714,63057,818,000996,0002,465,792
6Nov 14, 2024 02:477,25783,082,71958,229,0002,007,0002,367,488