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 listMar 7, 2024 16:48Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,484Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 16:485,39181,124,55917,251,80302,297,856
2Mar 7, 2024 16:485,39862,345,95517,272,42502,301,952
3Mar 7, 2024 16:485,43374,183,09617,385,19302,289,664
4Mar 7, 2024 16:485,47341,041,25916,484,0001,030,0002,412,544
5Mar 7, 2024 16:485,47740,452,40417,525,00002,408,448
6Mar 7, 2024 16:485,48140,038,67116,508,0001,031,0002,260,992
7Mar 7, 2024 16:485,48439,616,12917,548,00002,396,160
8Mar 7, 2024 16:485,49038,643,79816,535,0001,033,0002,400,256
9Mar 7, 2024 16:485,49443,785,66816,548,0001,034,0002,281,472
10Mar 7, 2024 16:485,49544,653,98516,550,0001,034,0002,400,256
11Mar 7, 2024 16:485,51042,910,51117,631,00002,281,472
12Mar 7, 2024 16:485,51546,384,28416,611,0001,038,0002,400,256