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 13, 2024 23:06kytanskytansScore: 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
1Jul 13, 2024 23:095,44387,986,39417,417,56902,244,608
2Jul 13, 2024 23:095,46895,595,71517,496,42502,240,512
3Jul 13, 2024 23:095,46869,016,54217,499,19902,236,416
4Jul 13, 2024 23:095,47190,941,46517,508,79802,240,512
5Jul 13, 2024 23:095,47878,020,99817,530,67202,240,512
6Jul 13, 2024 23:095,480104,103,61517,536,60802,236,416
7Jul 13, 2024 23:095,48485,140,30817,547,50102,236,416
8Jul 13, 2024 23:095,49078,860,39217,567,14402,232,320
9Jul 13, 2024 23:095,49466,876,21917,580,64302,240,512
10Jul 13, 2024 23:065,72070,523,74418,302,96202,244,608
11Jul 13, 2024 23:065,73690,491,85118,354,82402,240,512
12Jul 13, 2024 23:065,73898,866,48418,362,66602,236,416