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 17:40Jack FrigaardJack FrigaardScore: 4,870Success
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 17:404,80636,216,48513,330,0002,050,0002,285,568
2Jan 2, 2023 17:404,81738,363,98714,387,0001,027,0002,285,568
3Jan 2, 2023 17:404,81937,142,40914,393,0001,028,0002,523,136
4Jan 2, 2023 17:404,82240,043,55614,403,0001,028,0002,285,568
5Jan 2, 2023 17:404,82735,686,58514,417,0001,029,0002,527,232
6Jan 2, 2023 17:404,82838,055,39614,421,0001,030,0002,285,568
7Jan 2, 2023 17:404,87042,021,85614,546,0001,039,0002,285,568
8Jan 2, 2023 17:404,87432,570,93115,598,00002,285,568
9Jan 2, 2023 17:404,88241,980,58214,581,0001,041,0002,359,296
10Jan 2, 2023 17:405,04280,675,81016,135,03702,293,760
11Jan 2, 2023 17:405,07860,300,26216,248,43202,293,760
12Jan 2, 2023 17:405,083102,053,52916,265,12802,306,048