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:26Andrey TsvetkovAndrey TsvetkovScore: 5,700Success
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:265,65245,357,61715,072,0003,014,0002,330,624
2Jul 13, 2021 19:265,65944,054,85215,090,0003,018,0002,334,720
3Jul 13, 2021 19:265,67941,359,69715,144,0003,028,0002,326,528
4Jul 13, 2021 19:265,68345,884,17116,167,0002,020,0002,330,624
5Jul 13, 2021 19:265,69344,144,30816,192,0002,024,0002,523,136
6Jul 13, 2021 19:265,69735,731,80616,204,0002,025,0002,334,720
7Jul 13, 2021 19:265,70042,473,46216,214,0002,026,0002,527,232
8Jul 13, 2021 19:265,70945,901,16617,255,0001,015,0002,334,720
9Jul 13, 2021 19:265,72541,101,68416,284,0002,035,0002,334,720
10Jul 13, 2021 19:265,73362,246,59318,344,99102,228,224
11Jul 13, 2021 19:265,82597,217,87118,639,22702,244,608
12Jul 13, 2021 19:265,84290,388,21918,695,66402,228,224