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 25, 2023 22:33Andranik ChakiryanAndranik ChakiryanScore: 5,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:335,59535,922,00615,915,0001,989,0002,347,008
2Feb 25, 2023 22:335,59843,841,95515,925,0001,990,0002,363,392
3Feb 25, 2023 22:335,60147,055,82115,932,0001,991,0002,342,912
4Feb 25, 2023 22:335,61042,578,47515,958,0001,994,0002,334,720
5Feb 25, 2023 22:335,62442,681,86915,997,0001,999,0002,342,912
6Feb 25, 2023 22:335,62948,718,58916,012,0002,001,0002,342,912
7Feb 25, 2023 22:335,64545,697,56816,058,0002,007,0002,342,912
8Feb 25, 2023 22:335,65341,999,26116,081,0002,010,0002,342,912
9Feb 25, 2023 22:335,66745,891,39216,120,0002,015,0002,351,104
10Feb 25, 2023 22:335,67391,798,08418,154,02202,199,552
11Feb 25, 2023 22:335,73576,161,98818,350,92102,179,072
12Feb 25, 2023 22:335,73881,251,05018,361,14202,183,168