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 24, 2023 21:27Andranik ChakiryanAndranik ChakiryanScore: 5,814Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:275,79546,554,00118,543,00002,342,912
2Feb 24, 2023 21:275,79531,070,38417,515,0001,030,0002,355,200
3Feb 24, 2023 21:275,79941,358,68418,556,00002,342,912
4Feb 24, 2023 21:275,79941,241,23217,527,0001,031,0002,363,392
5Feb 24, 2023 21:275,80643,329,37516,516,0002,064,0002,347,008
6Feb 24, 2023 21:275,80739,057,55218,583,00002,342,912
7Feb 24, 2023 21:275,81442,243,31518,605,00002,351,104
8Feb 24, 2023 21:275,82274,704,39518,629,83602,195,456
9Feb 24, 2023 21:275,82342,562,90618,632,00002,478,080
10Feb 24, 2023 21:275,82341,609,55417,600,0001,035,0002,338,816
11Feb 24, 2023 21:275,84588,538,45018,704,52402,191,360
12Feb 24, 2023 21:275,90982,891,87718,909,94902,179,072