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 listJun 5, 2024 20:41AnSaAnSaScore: 22,218Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2024 20:4121,583204,735,735177,140,0002,001,0002,273,280
2Jun 5, 2024 20:4121,599202,597,357178,273,0001,001,0002,285,568
3Jun 5, 2024 20:4121,639212,007,933178,603,0001,003,0002,367,488
4Jun 5, 2024 20:4122,202218,989,790181,292,0002,988,0002,273,280
5Jun 5, 2024 20:4122,210215,770,909182,340,0002,003,0002,273,280
6Jun 5, 2024 20:4122,215211,241,808183,381,0001,002,0002,273,280
7Jun 5, 2024 20:4122,218211,177,212180,423,0003,987,0002,273,280
8Jun 5, 2024 20:4122,228213,035,906183,490,0001,002,0002,273,280
9Jun 5, 2024 20:4122,233214,121,041183,528,0001,002,0002,269,184
10Jun 5, 2024 20:4122,427262,614,285186,143,13402,293,760
11Jun 5, 2024 20:4122,445244,942,756186,292,98702,285,568
12Jun 5, 2024 20:4122,466256,815,245186,464,17902,281,472