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 16:33Jack FrigaardJack FrigaardScore: 4,878Success
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 16:334,84032,166,43515,489,00002,285,568
2Jan 2, 2023 16:334,85544,598,25815,535,00002,527,232
3Jan 2, 2023 16:334,86633,336,47714,534,0001,038,0002,285,568
4Jan 2, 2023 16:334,86836,340,83414,539,0001,038,0002,269,184
5Jan 2, 2023 16:334,86842,912,96814,541,0001,038,0002,285,568
6Jan 2, 2023 16:334,87744,009,15714,567,0001,040,0002,285,568
7Jan 2, 2023 16:334,87836,387,05615,611,00002,285,568
8Jan 2, 2023 16:334,88539,664,99814,590,0001,042,0002,285,568
9Jan 2, 2023 16:334,88741,880,85414,596,0001,042,0002,523,136
10Jan 2, 2023 16:335,08057,322,41916,256,81502,301,952
11Jan 2, 2023 16:335,10793,609,11116,342,31102,179,072
12Jan 2, 2023 16:335,13473,546,51316,429,67902,301,952