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 22:00Jack FrigaardJack FrigaardScore: 4,864Success
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 22:004,80832,056,28214,361,0001,025,0002,285,568
2Jan 2, 2023 22:004,82038,339,15814,395,0001,028,0002,285,568
3Jan 2, 2023 22:004,82932,876,17713,394,0002,060,0002,285,568
4Jan 2, 2023 22:004,83933,090,11115,484,00002,285,568
5Jan 2, 2023 22:004,84132,870,25515,490,00002,285,568
6Jan 2, 2023 22:004,85643,534,42714,503,0001,035,0002,285,568
7Jan 2, 2023 22:004,86432,434,20614,528,0001,037,0002,523,136
8Jan 2, 2023 22:004,86936,660,04414,542,0001,038,0002,285,568
9Jan 2, 2023 22:004,96133,965,91013,890,0001,984,0002,285,568
10Jan 2, 2023 22:005,03565,683,50716,111,01002,289,664
11Jan 2, 2023 22:005,06787,874,96416,213,09702,301,952
12Jan 2, 2023 22:005,10881,504,12916,346,20002,301,952