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 26, 2023 00:07Andranik ChakiryanAndranik ChakiryanScore: 5,906Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2023 00:075,85547,566,20816,654,0002,081,0002,342,912
2Feb 26, 2023 00:075,88246,916,71716,842,0001,981,0002,351,104
3Feb 26, 2023 00:075,88843,248,27717,852,000991,0002,355,200
4Feb 26, 2023 00:075,89436,246,31718,862,00002,355,200
5Feb 26, 2023 00:075,89937,814,76417,884,000993,0002,342,912
6Feb 26, 2023 00:075,90044,780,71017,887,000993,0002,342,912
7Feb 26, 2023 00:075,90646,215,80516,911,0001,989,0002,342,912
8Feb 26, 2023 00:075,91247,263,21716,928,0001,991,0002,351,104
9Feb 26, 2023 00:075,91546,775,69416,937,0001,992,0002,338,816
10Feb 26, 2023 00:075,97291,448,61319,111,79702,179,072
11Feb 26, 2023 00:076,05789,908,88819,383,93302,187,264
12Feb 26, 2023 00:076,06380,622,28919,400,54002,179,072