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 listFeb 27, 2024 19:17Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 19:175,58978,896,69917,883,70502,256,896
2Feb 27, 2024 19:175,59164,985,62017,891,26102,297,856
3Feb 27, 2024 19:175,61641,690,69716,974,000998,0002,281,472
4Feb 27, 2024 19:175,62239,434,43616,991,000999,0002,396,160
5Feb 27, 2024 19:175,63536,255,94417,031,0001,001,0002,281,472
6Feb 27, 2024 19:175,63991,857,04718,044,28502,293,760
7Feb 27, 2024 19:175,65344,629,92916,079,0002,009,0002,281,472
8Feb 27, 2024 19:175,66041,942,20716,100,0002,012,0002,281,472
9Feb 27, 2024 19:175,66939,615,41517,134,0001,007,0002,281,472
10Feb 27, 2024 19:175,67135,185,08016,132,0002,016,0002,396,160
11Feb 27, 2024 19:175,68343,116,31716,164,0002,020,0002,281,472
12Feb 27, 2024 19:175,69540,470,99116,200,0002,025,0002,400,256