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 10, 2023 06:27Victor MuñozVictor MuñozScore: 5,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2023 06:275,48436,940,75216,516,0001,032,0002,387,968
2Jan 10, 2023 06:275,49040,640,17517,568,00002,392,064
3Jan 10, 2023 06:275,49532,440,51717,584,00002,392,064
4Jan 10, 2023 06:275,49644,288,31416,554,0001,034,0002,265,088
5Jan 10, 2023 06:275,50342,370,32517,608,00002,392,064
6Jan 10, 2023 06:275,50835,826,95016,591,0001,036,0002,265,088
7Jan 10, 2023 06:275,50947,763,66917,629,00002,527,232
8Jan 10, 2023 06:275,51339,734,53016,604,0001,037,0002,265,088
9Jan 10, 2023 06:275,51832,593,94016,621,0001,038,0002,387,968
10Jan 10, 2023 06:275,696110,628,97118,227,60002,240,512
11Jan 10, 2023 06:275,73689,321,91418,354,52102,285,568
12Jan 10, 2023 06:275,74986,496,34218,395,98902,289,664