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 2, 2023 21:50Jack FrigaardJack FrigaardScore: 4,848Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:504,79132,850,39013,288,0002,044,0002,523,136
2Jan 2, 2023 21:504,81433,674,78414,378,0001,027,0002,527,232
3Jan 2, 2023 21:504,81732,453,18713,360,0002,055,0002,281,472
4Jan 2, 2023 21:504,81941,628,03813,364,0002,056,0002,527,232
5Jan 2, 2023 21:504,82631,941,48413,384,0002,059,0002,273,280
6Jan 2, 2023 21:504,82835,615,19514,419,0001,029,0002,285,568
7Jan 2, 2023 21:504,84838,659,84613,445,0002,068,0002,285,568
8Jan 2, 2023 21:504,84845,094,05913,446,0002,068,0002,273,280
9Jan 2, 2023 21:504,85832,878,88714,508,0001,036,0002,527,232
10Jan 2, 2023 21:505,08683,278,29416,274,73202,293,760
11Jan 2, 2023 21:505,08696,323,46616,275,32002,306,048
12Jan 2, 2023 21:505,10694,095,94816,339,39802,297,856