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 listMar 18, 2023 15:44Alexander MonakovAlexander MonakovScore: 4,595Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 15:444,52930,637,02614,494,00002,277,376
2Mar 18, 2023 15:444,54033,768,61314,528,00002,494,464
3Mar 18, 2023 15:444,55528,601,52014,576,00002,494,464
4Mar 18, 2023 15:444,56040,794,88514,593,00002,490,368
5Mar 18, 2023 15:444,56834,133,28914,617,00002,494,464
6Mar 18, 2023 15:444,59031,909,18613,640,0001,049,0002,277,376
7Mar 18, 2023 15:444,59540,805,58313,655,0001,050,0002,277,376
8Mar 18, 2023 15:444,59932,439,04614,717,00002,498,560
9Mar 18, 2023 15:444,65334,783,81912,906,0001,985,0002,277,376
10Mar 18, 2023 15:444,79579,433,05815,344,17502,236,416
11Mar 18, 2023 15:444,81483,493,15715,406,25802,240,512
12Mar 18, 2023 15:444,85288,035,24415,526,02202,236,416