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 listJul 22, 2022 21:57Robert BurkeRobert BurkeScore: 4,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:574,87145,564,60215,588,00002,433,024
2Jul 22, 2022 21:574,87231,532,76114,552,0001,039,0002,433,024
3Jul 22, 2022 21:574,88138,581,63014,579,0001,041,0002,433,024
4Jul 22, 2022 21:574,88334,391,60415,624,00002,428,928
5Jul 22, 2022 21:574,88443,611,11815,629,00002,437,120
6Jul 22, 2022 21:574,89337,476,69414,615,0001,043,0002,535,424
7Jul 22, 2022 21:574,89935,525,90315,676,00002,428,928
8Jul 22, 2022 21:574,90941,401,32514,661,0001,047,0002,535,424
9Jul 22, 2022 21:574,91038,347,07714,665,0001,047,0002,273,280
10Jul 22, 2022 21:574,98889,832,44515,963,05602,183,168
11Jul 22, 2022 21:575,01776,386,55316,055,92502,179,072
12Jul 22, 2022 21:575,02384,690,04816,074,12002,174,976