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 5, 2023 14:07Ignas BagdonasIgnas BagdonasScore: 11,970Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2023 14:0711,470165,482,24795,200,75402,285,568
2Nov 5, 2023 14:0711,482158,309,21295,299,73902,301,952
3Nov 5, 2023 14:0711,505153,353,48695,490,90502,289,664
4Nov 5, 2023 14:0711,752123,283,93496,537,0001,005,0002,273,280
5Nov 5, 2023 14:0711,803122,214,49095,963,0001,999,0002,531,328
6Nov 5, 2023 14:0711,808122,406,94496,009,0002,000,0002,273,280
7Nov 5, 2023 14:0711,880127,556,65997,602,0001,006,0002,273,280
8Nov 5, 2023 14:0711,970127,498,29597,340,0002,007,0002,273,280
9Nov 5, 2023 14:0712,009125,012,78998,665,0001,006,0002,269,184
10Nov 5, 2023 14:0712,024126,903,96697,807,0001,996,0002,273,280
11Nov 5, 2023 14:0712,027128,644,91398,826,000998,0002,260,992
12Nov 5, 2023 14:0712,033123,563,25897,879,0001,997,0002,273,280
13Nov 5, 2023 14:0712,041128,440,98497,941,0001,998,0002,273,280
14Nov 5, 2023 14:0712,056128,785,93998,060,0002,001,0002,273,280
15Nov 5, 2023 14:0712,173122,638,30099,037,0002,000,0002,273,280