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 listSep 26, 2023 00:25IhebIhebScore: 5,771Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:255,74240,892,13916,332,0002,041,0002,289,664
2Sep 26, 2023 00:255,74540,072,71716,343,0002,042,0002,400,256
3Sep 26, 2023 00:255,75847,691,03516,379,0002,047,0002,289,664
4Sep 26, 2023 00:255,76640,483,89117,425,0001,025,0002,375,680
5Sep 26, 2023 00:255,76751,393,52718,453,00002,289,664
6Sep 26, 2023 00:255,76942,936,94916,410,0002,051,0002,289,664
7Sep 26, 2023 00:255,77138,670,35218,466,00002,289,664
8Sep 26, 2023 00:255,80445,070,27217,542,0001,031,0002,289,664
9Sep 26, 2023 00:255,84147,428,83316,724,0001,967,0002,269,184
10Sep 26, 2023 00:255,976102,432,50219,124,14202,301,952
11Sep 26, 2023 00:255,989102,270,15119,163,56102,297,856
12Sep 26, 2023 00:256,066103,236,34319,410,00102,297,856