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 listNov 18, 2024 23:34zielajzielajScore: 3,830Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 18, 2024 23:343,62458,982,98929,079,0001,002,0002,359,296
2Nov 18, 2024 23:343,63949,847,35229,195,0001,006,0002,465,792
3Nov 18, 2024 23:343,66056,249,50028,357,0002,025,0002,363,392
4Nov 18, 2024 23:343,83058,077,01429,735,0002,050,0002,371,584
5Nov 18, 2024 23:343,89360,454,71530,290,0002,019,0002,387,968
6Nov 18, 2024 23:343,91750,942,60430,476,0002,031,0002,478,080