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 20, 2024 06:04Andrey TsvetkovAndrey TsvetkovScore: 72,594Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2024 06:4172,565631,262,508600,288,0002,000,0002,326,528
2Oct 20, 2024 06:0472,583633,631,045600,441,0002,001,0002,326,528
3Oct 20, 2024 06:4172,583634,731,285601,440,000999,0002,326,528
4Oct 20, 2024 06:0472,594629,255,466600,531,0001,998,0002,486,272
5Oct 20, 2024 06:4172,599630,569,042600,571,0001,998,0002,326,528
6Oct 20, 2024 06:0472,601631,681,356600,588,0001,998,0002,326,528