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 27, 2023 19:26Andranik ChakiryanAndranik ChakiryanScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 19:264,89731,250,46313,580,0002,089,0002,342,912
2Feb 27, 2023 19:264,90641,230,43214,652,0001,046,0002,355,200
3Feb 27, 2023 19:264,91430,612,92415,726,00002,338,816
4Feb 27, 2023 19:264,91543,009,74815,727,00002,342,912
5Feb 27, 2023 19:264,95940,498,14914,878,000991,0002,359,296
6Feb 27, 2023 19:264,96047,578,86212,897,0002,976,0002,342,912
7Feb 27, 2023 19:264,96143,452,40714,884,000992,0002,342,912
8Feb 27, 2023 19:264,96436,294,74512,908,0002,978,0002,347,008
9Feb 27, 2023 19:264,98731,995,36712,967,0002,992,0002,355,200
10Feb 27, 2023 19:264,99091,993,66915,967,68302,191,360
11Feb 27, 2023 19:265,01272,709,72716,038,83102,191,360
12Feb 27, 2023 19:265,11980,260,88816,379,51502,179,072