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 16, 2022 07:45Robert BurkeRobert BurkeScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 07:455,27442,354,56415,886,000992,0002,281,472
2Jul 16, 2022 07:455,29337,186,11815,941,000996,0002,277,376
3Jul 16, 2022 07:455,30333,965,96014,972,0001,996,0002,281,472
4Jul 16, 2022 07:455,30936,488,54015,990,000999,0002,437,120
5Jul 16, 2022 07:455,31132,919,07915,997,000999,0002,433,024
6Jul 16, 2022 07:455,31535,679,13116,007,0001,000,0002,281,472
7Jul 16, 2022 07:455,31737,995,87616,014,0001,000,0002,433,024
8Jul 16, 2022 07:455,32137,813,67216,026,0001,001,0002,433,024
9Jul 16, 2022 07:455,32640,936,66015,037,0002,005,0002,433,024
10Jul 16, 2022 07:455,48576,902,94117,551,12402,179,072
11Jul 16, 2022 07:455,48875,715,32617,561,89402,179,072
12Jul 16, 2022 07:455,50776,295,71517,622,92502,174,976