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 29, 2021 19:51Egor SergeevEgor SergeevScore: 5,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 19:515,14239,291,71016,454,00002,494,464
2Jun 29, 2021 19:515,14338,980,49016,456,00002,482,176
3Jun 29, 2021 19:515,14438,271,84116,460,00002,535,424
4Jun 29, 2021 19:515,16233,238,21216,519,00002,277,376
5Jun 29, 2021 19:515,16734,828,80816,533,00002,498,560
6Jun 29, 2021 19:515,17144,449,95716,546,00002,277,376
7Jun 29, 2021 19:515,17633,948,01116,562,00002,498,560
8Jun 29, 2021 19:515,17932,401,29716,573,00002,498,560
9Jun 29, 2021 19:515,21139,061,11116,676,00002,494,464
10Jun 29, 2021 19:515,38343,142,83017,225,67202,232,320
11Jun 29, 2021 19:515,39574,757,03617,263,91702,236,416
12Jun 29, 2021 19:515,48482,302,77417,547,99702,236,416