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 listJun 17, 2023 22:19Ulyanov AlekseyUlyanov AlekseyScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:195,84948,916,20316,748,0001,970,0002,277,376
2Jun 17, 2023 22:195,87741,519,34216,828,0001,979,0002,367,488
3Jun 17, 2023 22:195,89545,866,53717,873,000992,0002,277,376
4Jun 17, 2023 22:195,89749,567,99215,891,0002,979,0002,277,376
5Jun 17, 2023 22:195,89734,547,64815,891,0002,979,0002,273,280
6Jun 17, 2023 22:195,89848,135,40016,888,0001,986,0002,277,376
7Jun 17, 2023 22:195,89849,350,31518,875,00002,273,280
8Jun 17, 2023 22:195,90138,714,32816,896,0001,987,0002,277,376
9Jun 17, 2023 22:195,90240,476,39616,899,0001,988,0002,277,376
10Jun 17, 2023 22:196,05187,041,31019,364,20902,293,760
11Jun 17, 2023 22:196,09081,456,33319,488,00502,293,760
12Jun 17, 2023 22:196,10190,127,69419,524,51602,301,952