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 listFeb 21, 2023 22:06Andranik ChakiryanAndranik ChakiryanScore: 5,860Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 22:065,82048,344,27818,625,00002,359,296
2Feb 21, 2023 22:065,83145,251,02217,623,0001,036,0002,334,720
3Feb 21, 2023 22:065,84050,581,01616,613,0002,076,0002,342,912
4Feb 21, 2023 22:065,84343,716,97218,699,00002,347,008
5Feb 21, 2023 22:065,85139,717,33418,722,00002,338,816
6Feb 21, 2023 22:065,85546,904,26218,735,00002,342,912
7Feb 21, 2023 22:065,86047,954,05118,752,00002,359,296
8Feb 21, 2023 22:065,90138,263,72317,890,000993,0002,351,104
9Feb 21, 2023 22:065,90242,675,16316,899,0001,988,0002,355,200
10Feb 21, 2023 22:065,90380,472,09618,890,90102,183,168
11Feb 21, 2023 22:065,91587,759,29218,927,00102,187,264
12Feb 21, 2023 22:065,94362,697,66919,016,91102,191,360