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:19Yuriy LyfenkoYuriy LyfenkoScore: 5,727Success
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:195,692541,646,24615,178,0003,035,0002,330,624
2Jul 13, 2021 19:195,700544,133,77016,213,0002,026,0002,527,232
3Jul 13, 2021 19:195,703544,502,93216,223,0002,027,0002,330,624
4Jul 13, 2021 19:195,709569,553,22418,270,03702,252,800
5Jul 13, 2021 19:195,718583,708,37618,296,18302,232,320
6Jul 13, 2021 19:195,721539,615,42314,238,0004,068,0002,424,832
7Jul 13, 2021 19:195,727539,839,29414,254,0004,072,0002,330,624
8Jul 13, 2021 19:195,738541,329,47318,361,00002,334,720
9Jul 13, 2021 19:195,747540,979,47017,369,0001,021,0002,379,776
10Jul 13, 2021 19:195,750541,159,41015,333,0003,066,0002,330,624
11Jul 13, 2021 19:195,752538,617,16616,361,0002,045,0002,330,624
12Jul 13, 2021 19:195,770573,274,82418,465,00202,224,128