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 14:46Jack FrigaardJack FrigaardScore: 5,490Success
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 14:465,41134,301,25915,279,0002,037,0002,269,184
2Jan 2, 2023 14:465,44337,310,86715,370,0002,049,0002,371,584
3Jan 2, 2023 14:465,45738,547,80716,435,0001,027,0002,285,568
4Jan 2, 2023 14:465,45835,394,28716,438,0001,027,0002,523,136
5Jan 2, 2023 14:465,46834,398,68216,468,0001,029,0002,277,376
6Jan 2, 2023 14:465,46840,070,74416,469,0001,029,0002,285,568
7Jan 2, 2023 14:465,49034,880,59916,536,0001,033,0002,285,568
8Jan 2, 2023 14:465,49140,036,33317,572,00002,285,568
9Jan 2, 2023 14:465,51835,589,50616,618,0001,038,0002,285,568
10Jan 2, 2023 14:465,64077,453,19218,049,06402,293,760
11Jan 2, 2023 14:465,70790,982,03818,262,07702,301,952
12Jan 2, 2023 14:465,70993,777,05218,268,57102,301,952