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 23:43Andrew MoonAndrew MoonScore: 5,271Success
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 23:435,20642,631,17115,618,0001,041,0002,383,872
2Jul 8, 2023 23:435,23341,251,12216,745,00002,265,088
3Jul 8, 2023 23:435,26844,778,20215,867,000991,0002,265,088
4Jul 8, 2023 23:435,26841,589,54915,868,000991,0002,265,088
5Jul 8, 2023 23:435,26935,285,09914,878,0001,983,0002,396,160
6Jul 8, 2023 23:435,27146,647,21015,875,000992,0002,392,064
7Jul 8, 2023 23:435,27144,222,34116,868,00002,265,088
8Jul 8, 2023 23:435,27333,830,05515,880,000992,0002,392,064
9Jul 8, 2023 23:435,27342,444,51514,888,0001,985,0002,265,088
10Jul 8, 2023 23:435,45396,439,39617,451,03202,281,472
11Jul 8, 2023 23:435,46371,121,58717,481,54702,281,472
12Jul 8, 2023 23:435,47092,686,51117,504,61402,269,184