Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJul 9, 2023 04:19Andrew MoonAndrew MoonScore: 5,315Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2023 04:195,27347,651,98314,889,0001,985,0002,265,088
2Jul 9, 2023 04:195,27441,685,98914,893,0001,985,0002,265,088
3Jul 9, 2023 04:195,28543,676,52014,923,0001,989,0002,265,088
4Jul 9, 2023 04:195,29130,973,44914,939,0001,991,0002,392,064
5Jul 9, 2023 04:195,29237,644,19715,938,000996,0002,265,088
6Jul 9, 2023 04:195,30138,944,94414,968,0001,995,0002,265,088
7Jul 9, 2023 04:195,31541,002,26116,009,0001,000,0002,387,968
8Jul 9, 2023 04:195,32042,277,61816,023,0001,001,0002,265,088
9Jul 9, 2023 04:195,32434,007,81916,034,0001,002,0002,265,088
10Jul 9, 2023 04:195,51290,690,45817,639,69502,281,472
11Jul 9, 2023 04:195,51591,504,51617,647,79702,281,472
12Jul 9, 2023 04:195,54599,179,54717,744,65902,285,568