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 listJan 5, 2023 22:39Hal FHal FScore: 4,845Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 22:394,80238,019,36414,342,0001,024,0002,273,280
2Jan 5, 2023 22:394,80348,983,40513,322,0002,049,0002,289,664
3Jan 5, 2023 22:394,80939,482,56214,364,0001,026,0002,289,664
4Jan 5, 2023 22:394,81935,969,39114,392,0001,028,0002,289,664
5Jan 5, 2023 22:394,82342,303,15115,433,00002,289,664
6Jan 5, 2023 22:394,83443,881,18414,438,0001,031,0002,273,280
7Jan 5, 2023 22:394,84536,871,60214,472,0001,033,0002,273,280
8Jan 5, 2023 22:394,85337,380,98914,493,0001,035,0002,289,664
9Jan 5, 2023 22:394,85634,239,14214,503,0001,035,0002,531,328
10Jan 5, 2023 22:394,98071,276,38415,936,77702,293,760
11Jan 5, 2023 22:394,98185,509,00315,938,27802,285,568
12Jan 5, 2023 22:394,99080,461,65715,967,97502,293,760