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 17, 2023 18:38Alexander MonakovAlexander MonakovScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 18:385,19833,793,11416,634,00002,277,376
2Mar 17, 2023 18:385,20340,331,63916,649,00002,277,376
3Mar 17, 2023 18:385,20838,065,04116,664,00002,498,560
4Mar 17, 2023 18:385,22143,017,90216,706,00002,277,376
5Mar 17, 2023 18:385,26330,022,13515,850,000990,0002,535,424
6Mar 17, 2023 18:385,27244,174,52514,885,0001,984,0002,494,464
7Mar 17, 2023 18:385,27344,271,50316,873,00002,494,464
8Mar 17, 2023 18:385,27636,322,58315,891,000993,0002,498,560
9Mar 17, 2023 18:385,27843,031,83015,896,000993,0002,277,376
10Mar 17, 2023 18:385,40595,538,46517,295,50702,236,416
11Mar 17, 2023 18:385,41682,309,96817,332,56102,240,512
12Mar 17, 2023 18:385,43589,319,76617,393,49002,244,608