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:23Jack FrigaardJack FrigaardScore: 5,206Success
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:235,15632,032,40916,498,00002,523,136
2Jan 2, 2023 22:235,16432,017,70915,493,0001,032,0002,265,088
3Jan 2, 2023 22:235,16932,921,81515,507,0001,033,0002,531,328
4Jan 2, 2023 22:235,17032,184,16115,510,0001,034,0002,289,664
5Jan 2, 2023 22:235,18138,886,04115,542,0001,036,0002,289,664
6Jan 2, 2023 22:235,19134,081,55815,572,0001,038,0002,269,184
7Jan 2, 2023 22:235,20641,857,28016,660,00002,289,664
8Jan 2, 2023 22:235,21244,734,20016,679,00002,265,088
9Jan 2, 2023 22:235,27438,815,54415,886,000992,0002,289,664
10Jan 2, 2023 22:235,39281,952,79717,253,04202,293,760
11Jan 2, 2023 22:235,40589,203,76817,295,36702,301,952
12Jan 2, 2023 22:235,42189,464,06117,347,04702,301,952