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 19:17Andranik ChakiryanAndranik ChakiryanScore: 5,802Success
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 19:175,72335,308,92317,297,0001,017,0002,359,296
2Feb 24, 2023 19:175,72343,864,23016,280,0002,035,0002,334,720
3Feb 24, 2023 19:175,74939,445,62916,353,0002,044,0002,347,008
4Feb 24, 2023 19:175,75039,684,05418,401,00002,342,912
5Feb 24, 2023 19:175,76037,120,27617,408,0001,024,0002,351,104
6Feb 24, 2023 19:175,79563,863,13318,544,41602,183,168
7Feb 24, 2023 19:175,80240,674,77317,534,0001,031,0002,342,912
8Feb 24, 2023 19:175,80546,137,88817,544,0001,032,0002,359,296
9Feb 24, 2023 19:175,81447,101,51317,572,0001,033,0002,355,200
10Feb 24, 2023 19:175,82447,090,12016,567,0002,070,0002,355,200
11Feb 24, 2023 19:175,88179,481,07818,817,77402,183,168
12Feb 24, 2023 19:175,88694,302,17618,835,41402,191,360