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 16, 2021 21:51Andrey TsvetkovAndrey TsvetkovScore: 5,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2021 21:515,63442,901,07516,025,0002,003,0002,531,328
2Jun 16, 2021 21:515,65834,907,12916,095,0002,011,0002,334,720
3Jun 16, 2021 21:515,66736,699,26416,120,0002,015,0002,523,136
4Jun 16, 2021 21:515,68334,969,56016,165,0002,020,0002,334,720
5Jun 16, 2021 21:515,68339,026,23416,166,0002,020,0002,334,720
6Jun 16, 2021 21:515,68333,143,30316,166,0002,020,0002,334,720
7Jun 16, 2021 21:515,69637,597,96016,203,0002,025,0002,396,160
8Jun 16, 2021 21:515,71638,556,73516,258,0002,032,0002,330,624
9Jun 16, 2021 21:515,73138,397,89916,301,0002,037,0002,334,720
10Jun 16, 2021 21:515,74667,404,08318,388,55302,236,416
11Jun 16, 2021 21:515,77384,301,83518,474,36502,232,320
12Jun 16, 2021 21:515,81976,676,66618,621,66602,236,416