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:52Jack FrigaardJack FrigaardScore: 5,610Success
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:525,58144,102,66616,867,000992,0002,273,280
2Jan 2, 2023 16:525,58342,884,14915,881,0001,985,0002,269,184
3Jan 2, 2023 16:525,58847,380,38115,895,0001,986,0002,285,568
4Jan 2, 2023 16:525,59035,865,29516,895,000993,0002,523,136
5Jan 2, 2023 16:525,59246,717,24215,905,0001,988,0002,285,568
6Jan 2, 2023 16:525,60743,113,72315,948,0001,993,0002,285,568
7Jan 2, 2023 16:525,61047,351,37115,959,0001,994,0002,285,568
8Jan 2, 2023 16:525,62049,248,42815,987,0001,998,0002,269,184
9Jan 2, 2023 16:525,68041,754,29516,158,0002,019,0002,371,584
10Jan 2, 2023 16:525,78084,710,45818,496,13202,301,952
11Jan 2, 2023 16:525,84178,614,53518,691,72302,297,856
12Jan 2, 2023 16:526,02882,866,69019,288,11102,289,664