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 listJul 18, 2024 10:56Andrey LikhachevAndrey LikhachevScore: 12,243Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 10:5612,207128,950,718101,318,00002,285,568
2Jul 18, 2024 10:5612,212124,662,359100,354,0001,003,0002,285,568
3Jul 18, 2024 10:5612,215122,372,027101,385,00002,465,792
4Jul 18, 2024 10:5612,216125,015,047101,391,00002,285,568
5Jul 18, 2024 10:5612,220127,063,780100,423,0001,004,0002,379,776
6Jul 18, 2024 10:5612,222124,263,07299,451,0001,989,0002,371,584
7Jul 18, 2024 10:5612,243128,527,548100,612,0001,006,0002,285,568
8Jul 18, 2024 10:5612,246127,961,386100,632,0001,006,0002,359,296
9Jul 18, 2024 10:5612,248131,846,144100,656,0001,006,0002,285,568
10Jul 18, 2024 10:5612,427164,798,068103,143,75502,224,128
11Jul 18, 2024 10:5612,899202,548,367107,065,79702,220,032
12Jul 18, 2024 10:5612,906177,553,396107,117,96702,228,224