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 listJul 13, 2021 19:28Andrey TsvetkovAndrey TsvetkovScore: 5,716Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:285,68346,179,90115,154,0003,030,0002,334,720
2Jul 13, 2021 19:285,69139,879,75716,188,0002,023,0002,523,136
3Jul 13, 2021 19:285,69935,662,08316,212,0002,026,0002,334,720
4Jul 13, 2021 19:285,70036,756,62516,213,0002,026,0002,531,328
5Jul 13, 2021 19:285,70436,787,39215,212,0003,042,0002,334,720
6Jul 13, 2021 19:285,70558,468,58618,255,13202,232,320
7Jul 13, 2021 19:285,71642,727,68216,260,0002,032,0002,531,328
8Jul 13, 2021 19:285,73063,723,38118,335,19302,228,224
9Jul 13, 2021 19:285,73240,089,99015,285,0003,057,0002,334,720
10Jul 13, 2021 19:285,73852,298,65817,342,0001,020,0002,523,136
11Jul 13, 2021 19:285,74136,358,49016,330,0002,041,0002,334,720
12Jul 13, 2021 19:285,84988,314,67318,715,33902,236,416