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 23, 2023 22:44Andranik ChakiryanAndranik ChakiryanScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 22:445,60943,407,99415,956,0001,994,0002,355,200
2Feb 23, 2023 22:445,61945,759,24716,983,000999,0002,347,008
3Feb 23, 2023 22:445,62343,672,03915,995,0001,999,0002,359,296
4Feb 23, 2023 22:445,63343,234,05116,022,0002,002,0002,363,392
5Feb 23, 2023 22:445,64144,942,92017,049,0001,002,0002,453,504
6Feb 23, 2023 22:445,64845,732,75217,069,0001,004,0002,355,200
7Feb 23, 2023 22:445,65049,659,08717,075,0001,004,0002,342,912
8Feb 23, 2023 22:445,65540,421,66716,085,0002,010,0002,359,296
9Feb 23, 2023 22:445,65740,030,16516,092,0002,011,0002,342,912
10Feb 23, 2023 22:445,67265,620,20218,149,53602,199,552
11Feb 23, 2023 22:445,70396,884,21818,249,08902,183,168
12Feb 23, 2023 22:445,76363,294,89518,442,64702,183,168