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 3, 2021 18:38Yuriy LyfenkoYuriy LyfenkoScore: 5,042Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 18:384,998542,323,51913,993,0001,999,0002,273,280
2Jun 3, 2021 18:385,000544,775,81914,001,0002,000,0002,281,472
3Jun 3, 2021 18:385,026537,975,90614,072,0002,010,0002,273,280
4Jun 3, 2021 18:385,027542,350,98015,081,0001,005,0002,273,280
5Jun 3, 2021 18:385,028537,912,22115,084,0001,005,0002,281,472
6Jun 3, 2021 18:385,031540,991,31415,094,0001,006,0002,273,280
7Jun 3, 2021 18:385,042538,218,40214,117,0002,016,0002,400,256
8Jun 3, 2021 18:385,048544,969,70516,152,00002,273,280
9Jun 3, 2021 18:385,053540,849,61614,147,0002,021,0002,281,472
10Jun 3, 2021 18:385,153579,312,97116,490,90902,256,896
11Jun 3, 2021 18:385,168571,754,52616,537,80102,277,376
12Jun 3, 2021 18:385,188584,515,17516,600,95602,256,896