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 09:34Andrew MoonAndrew MoonScore: 5,373Success
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 09:345,33839,066,91216,077,0001,004,0002,265,088
2Jul 8, 2023 09:345,34246,118,92515,084,0002,011,0002,265,088
3Jul 8, 2023 09:345,34354,202,67415,087,0002,011,0002,265,088
4Jul 8, 2023 09:345,36042,936,62116,143,0001,008,0002,265,088
5Jul 8, 2023 09:345,36244,878,90916,150,0001,009,0002,379,776
6Jul 8, 2023 09:345,36946,594,07416,172,0001,010,0002,387,968
7Jul 8, 2023 09:345,37342,954,72216,181,0001,011,0002,392,064
8Jul 8, 2023 09:345,38345,652,16616,211,0001,013,0002,265,088
9Jul 8, 2023 09:345,40045,064,21216,265,0001,016,0002,392,064
10Jul 8, 2023 09:345,581113,722,32017,860,20402,273,280
11Jul 8, 2023 09:345,58391,314,69517,866,48902,285,568
12Jul 8, 2023 09:345,61577,108,95217,967,59802,289,664