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 1, 2023 21:48Jack FrigaardJack FrigaardScore: 5,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:485,58344,693,43417,865,00002,285,568
2Jan 1, 2023 21:485,59251,044,69815,907,0001,988,0002,285,568
3Jan 1, 2023 21:485,60743,117,08915,948,0001,993,0002,269,184
4Jan 1, 2023 21:485,61536,068,42615,972,0001,996,0002,527,232
5Jan 1, 2023 21:485,62344,903,09715,993,0001,999,0002,285,568
6Jan 1, 2023 21:485,62741,971,10517,005,0001,000,0002,285,568
7Jan 1, 2023 21:485,63841,365,06216,038,0002,004,0002,285,568
8Jan 1, 2023 21:485,63844,687,11417,041,0001,002,0002,285,568
9Jan 1, 2023 21:485,67245,623,34416,135,0002,016,0002,531,328
10Jan 1, 2023 21:485,93985,328,68219,005,77202,293,760
11Jan 1, 2023 21:486,04963,297,95319,355,86602,297,856
12Jan 1, 2023 21:486,18985,682,15719,804,34802,297,856