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 listApr 10, 2024 08:28Matt StuchlikMatt StuchlikScore: 20,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 08:2820,426194,863,872168,535,0001,003,0002,285,568
2Apr 10, 2024 08:2820,451199,883,362167,745,0001,996,0002,363,392
3Apr 10, 2024 08:2820,549201,114,114169,552,0001,003,0002,285,568
4Apr 10, 2024 08:2820,567194,716,390168,710,0001,996,0002,285,568
5Apr 10, 2024 08:2820,569199,671,759169,724,000998,0002,273,280
6Apr 10, 2024 08:2820,584195,981,661168,850,0001,998,0002,285,568
7Apr 10, 2024 08:2820,590198,128,677168,899,0001,998,0002,269,184
8Apr 10, 2024 08:2820,609197,910,175169,051,0002,000,0002,273,280
9Apr 10, 2024 08:2820,633195,351,538170,252,0001,001,0002,273,280
10Apr 10, 2024 08:2821,257245,500,810176,431,34802,281,472
11Apr 10, 2024 08:2822,188242,159,413184,164,17802,293,760
12Apr 10, 2024 08:2822,195248,724,242184,219,38602,293,760