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 16:19Jack FrigaardJack FrigaardScore: 5,289Success
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 16:195,23443,430,10615,703,0001,046,0002,285,568
2Jan 2, 2023 16:195,27244,593,37514,885,0001,984,0002,285,568
3Jan 2, 2023 16:195,27336,111,03015,880,000992,0002,285,568
4Jan 2, 2023 16:195,27541,076,01615,888,000993,0002,285,568
5Jan 2, 2023 16:195,27640,166,72115,891,000993,0002,285,568
6Jan 2, 2023 16:195,27943,263,55015,899,000993,0002,285,568
7Jan 2, 2023 16:195,28933,743,70714,934,0001,991,0002,285,568
8Jan 2, 2023 16:195,28955,757,52014,934,0001,991,0002,273,280
9Jan 2, 2023 16:195,29039,359,76714,938,0001,991,0002,514,944
10Jan 2, 2023 16:195,50280,884,37717,605,25002,297,856
11Jan 2, 2023 16:195,52577,786,44017,678,66002,289,664
12Jan 2, 2023 16:195,52984,972,96017,693,81402,297,856