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 listJun 21, 2021 11:23Andrey TsvetkovAndrey TsvetkovScore: 5,713Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2021 11:235,66142,579,42216,103,0002,012,0002,334,720
2Jun 21, 2021 11:235,66237,383,93416,106,0002,013,0002,334,720
3Jun 21, 2021 11:235,66835,960,19116,121,0002,015,0002,527,232
4Jun 21, 2021 11:235,69442,601,88316,196,0002,024,0002,334,720
5Jun 21, 2021 11:235,70038,598,34315,201,0003,040,0002,330,624
6Jun 21, 2021 11:235,70847,789,13116,237,0002,029,0002,334,720
7Jun 21, 2021 11:235,71331,300,02015,234,0003,046,0002,531,328
8Jun 21, 2021 11:235,71344,735,18316,250,0002,031,0002,334,720
9Jun 21, 2021 11:235,73385,831,36118,346,06702,236,416
10Jun 21, 2021 11:235,74541,129,36416,343,0002,042,0002,334,720
11Jun 21, 2021 11:235,77193,644,08818,468,64602,244,608
12Jun 21, 2021 11:235,78997,370,66618,524,53002,232,320