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 30, 2024 10:39AnSaAnSaScore: 5,788Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:395,74043,680,00116,328,0002,041,0002,273,280
2Jun 30, 2024 10:395,74144,436,75016,330,0002,041,0002,289,664
3Jun 30, 2024 10:395,74442,729,68016,339,0002,042,0002,289,664
4Jun 30, 2024 10:395,74443,305,95817,361,0001,021,0002,289,664
5Jun 30, 2024 10:395,77237,648,70318,471,00002,289,664
6Jun 30, 2024 10:395,77643,189,36317,456,0001,026,0002,289,664
7Jun 30, 2024 10:395,78845,166,04717,492,0001,028,0002,289,664
8Jun 30, 2024 10:395,78846,151,65717,492,0001,028,0002,289,664
9Jun 30, 2024 10:395,80349,192,46117,537,0001,031,0002,289,664
10Jun 30, 2024 10:395,91792,137,98218,935,20502,289,664
11Jun 30, 2024 10:395,94885,579,63519,033,38702,285,568
12Jun 30, 2024 10:396,09883,214,00819,514,15502,289,664