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:23Andrey TsvetkovAndrey TsvetkovScore: 5,732Success
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:235,70339,463,46715,207,0003,041,0002,334,720
2Jul 13, 2021 19:235,70342,919,53215,208,0003,041,0002,334,720
3Jul 13, 2021 19:235,70739,870,04016,232,0002,029,0002,334,720
4Jul 13, 2021 19:235,70838,836,41215,220,0003,044,0002,334,720
5Jul 13, 2021 19:235,71894,577,59718,297,26702,232,320
6Jul 13, 2021 19:235,72749,787,36315,273,0003,054,0002,531,328
7Jul 13, 2021 19:235,73239,944,16115,285,0003,057,0002,334,720
8Jul 13, 2021 19:235,74472,137,66718,381,77302,228,224
9Jul 13, 2021 19:235,75442,391,66217,391,0001,023,0002,334,720
10Jul 13, 2021 19:235,76443,323,64817,421,0001,024,0002,527,232
11Jul 13, 2021 19:235,76841,477,99716,407,0002,050,0002,334,720
12Jul 13, 2021 19:235,78088,929,25118,496,42402,228,224