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 19, 2023 21:58Ulyanov AlekseyUlyanov AlekseyScore: 5,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:585,49845,152,72616,559,0001,034,0002,277,376
2Jun 19, 2023 21:585,50543,804,78717,617,00002,289,664
3Jun 19, 2023 21:585,51844,148,14416,618,0001,038,0002,289,664
4Jun 19, 2023 21:585,52342,285,14216,635,0001,039,0002,281,472
5Jun 19, 2023 21:585,52849,464,95716,649,0001,040,0002,289,664
6Jun 19, 2023 21:585,53038,004,83317,697,00002,289,664
7Jun 19, 2023 21:585,53648,011,18216,672,0001,042,0002,289,664
8Jun 19, 2023 21:585,58434,685,20616,878,000992,0002,289,664
9Jun 19, 2023 21:585,58745,539,43815,891,0001,986,0002,277,376
10Jun 19, 2023 21:585,65991,204,42518,109,84702,252,800
11Jun 19, 2023 21:585,66361,895,02318,123,18402,256,896
12Jun 19, 2023 21:585,682104,610,37818,183,58902,289,664