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 12, 2023 23:32Asset MalikAsset MalikScore: 349,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2023 23:32348,6782,966,546,8252,894,031,44002,248,704
2Oct 12, 2023 23:32349,1832,969,586,7962,898,219,87602,232,320
3Oct 12, 2023 23:32351,3522,985,742,6622,916,220,61702,248,704