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 21:58Jack FrigaardJack FrigaardScore: 4,823Success
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 21:584,80543,832,27013,326,0002,050,0002,285,568
2Jan 2, 2023 21:584,81031,428,34213,339,0002,052,0002,277,376
3Jan 2, 2023 21:584,81037,357,65613,341,0002,052,0002,527,232
4Jan 2, 2023 21:584,81343,566,18814,377,0001,026,0002,285,568
5Jan 2, 2023 21:584,82134,972,30013,370,0002,057,0002,285,568
6Jan 2, 2023 21:584,82242,673,34813,372,0002,057,0002,269,184
7Jan 2, 2023 21:584,82330,686,92214,405,0001,028,0002,285,568
8Jan 2, 2023 21:584,84031,702,89113,423,0002,065,0002,273,280
9Jan 2, 2023 21:584,86340,001,05414,523,0001,037,0002,285,568
10Jan 2, 2023 21:585,04280,300,97316,133,00802,179,072
11Jan 2, 2023 21:585,05883,300,02716,187,09002,301,952
12Jan 2, 2023 21:585,059104,308,58116,189,05102,301,952