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 00:53Andrew MoonAndrew MoonScore: 5,307Success
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 00:535,28337,675,39715,912,000994,0002,387,968
2Jul 9, 2023 00:535,28541,191,44715,855,0001,057,0002,383,872
3Jul 9, 2023 00:535,28930,566,35014,934,0001,991,0002,396,160
4Jul 9, 2023 00:535,30244,857,58414,971,0001,996,0002,265,088
5Jul 9, 2023 00:535,30338,029,42014,972,0001,996,0002,383,872
6Jul 9, 2023 00:535,30734,763,40814,984,0001,997,0002,469,888
7Jul 9, 2023 00:535,30745,651,42915,983,000998,0002,269,184
8Jul 9, 2023 00:535,31438,342,22315,006,0002,000,0002,265,088
9Jul 9, 2023 00:535,33045,316,30616,053,0001,003,0002,392,064
10Jul 9, 2023 00:535,48285,757,62017,541,23102,273,280
11Jul 9, 2023 00:535,48893,260,93617,562,41502,273,280
12Jul 9, 2023 00:535,51978,981,70617,661,72302,285,568