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 listJun 2, 2021 20:32Yuriy LyfenkoYuriy LyfenkoScore: 5,997Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 20:325,95210,049,916,35717,042,0002,004,0002,330,624
2Jun 2, 2021 20:325,95810,041,408,19616,055,0003,010,0002,330,624
3Jun 2, 2021 20:325,97610,044,960,88516,105,0003,019,0002,330,624
4Jun 2, 2021 20:325,98310,045,090,75117,131,0002,015,0002,330,624
5Jun 2, 2021 20:325,98510,043,498,72716,128,0003,024,0002,330,624
6Jun 2, 2021 20:325,99610,047,101,79716,157,0003,029,0002,330,624
7Jun 2, 2021 20:325,99710,043,003,87116,161,0003,030,0002,330,624
8Jun 2, 2021 20:326,00410,042,134,24016,180,0003,033,0002,514,944
9Jun 2, 2021 20:326,04310,041,851,30518,319,0001,017,0002,330,624
10Jun 2, 2021 20:326,08010,089,176,32719,454,41402,256,896
11Jun 2, 2021 20:326,13910,088,534,56619,644,33302,256,896
12Jun 2, 2021 20:326,19510,072,298,27419,824,61502,256,896