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 8, 2023 15:37Andrew MoonAndrew MoonScore: 5,346Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 15:375,31344,578,86715,002,0002,000,0002,265,088
2Jul 8, 2023 15:375,32343,214,72216,032,0001,002,0002,265,088
3Jul 8, 2023 15:375,33045,715,72816,054,0001,003,0002,265,088
4Jul 8, 2023 15:375,33544,349,99415,064,0002,008,0002,527,232
5Jul 8, 2023 15:375,34132,850,74115,080,0002,010,0002,392,064
6Jul 8, 2023 15:375,34142,530,77516,086,0001,005,0002,265,088
7Jul 8, 2023 15:375,34634,932,18616,102,0001,006,0002,506,752
8Jul 8, 2023 15:375,35032,977,98316,114,0001,007,0002,265,088
9Jul 8, 2023 15:375,35342,726,30616,122,0001,007,0002,523,136
10Jul 8, 2023 15:375,53582,512,92017,711,53002,277,376
11Jul 8, 2023 15:375,54581,321,00617,743,92002,277,376
12Jul 8, 2023 15:375,563103,747,03817,800,77302,285,568