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 6, 2024 19:15bruHFTbruHFTScore: 154,535Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 18:33154,1611,310,684,0571,048,623,000230,916,0002,281,472
2Nov 6, 2024 18:33154,3541,306,668,9601,045,295,000235,840,0002,506,752
3Nov 6, 2024 18:33154,3621,307,312,5881,046,348,000234,853,0002,453,504
4Nov 6, 2024 18:33154,4341,309,516,2931,048,022,000233,782,0002,478,080
5Nov 6, 2024 18:33154,4681,306,617,1901,046,253,000235,831,0002,453,504
6Nov 6, 2024 18:33154,4951,304,082,3301,046,435,000235,872,0002,453,504
7Nov 6, 2024 18:33154,5351,307,343,0291,046,891,000235,750,0002,285,568
8Nov 6, 2024 19:15154,6191,311,769,3251,045,463,000237,877,0002,469,888
9Nov 6, 2024 18:33154,6691,313,704,9151,046,985,000236,770,0002,473,984
10Nov 6, 2024 18:33154,7201,311,569,9771,046,331,000237,848,0002,289,664
11Nov 6, 2024 19:15154,7521,309,405,4161,047,545,000236,897,0002,387,968
12Nov 6, 2024 19:15155,1631,315,993,4761,047,068,000240,785,0002,297,856