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:39Alexander MonakovAlexander MonakovScore: 5,084Success
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:395,04840,729,09215,144,0001,009,0002,494,464
2Mar 17, 2023 18:395,05435,746,32215,162,0001,010,0002,277,376
3Mar 17, 2023 18:395,05436,793,96915,162,0001,010,0002,277,376
4Mar 17, 2023 18:395,05834,470,12815,176,0001,011,0002,273,280
5Mar 17, 2023 18:395,05937,099,81115,178,0001,011,0002,277,376
6Mar 17, 2023 18:395,06639,320,81515,198,0001,013,0002,277,376
7Mar 17, 2023 18:395,08441,322,00116,269,00002,498,560
8Mar 17, 2023 18:395,09035,818,44116,288,00002,498,560
9Mar 17, 2023 18:395,11636,570,10816,370,00002,277,376
10Mar 17, 2023 18:395,26899,244,26116,857,03202,248,704
11Mar 17, 2023 18:395,28991,198,93516,925,43302,248,704
12Mar 17, 2023 18:395,30985,392,43516,989,58002,236,416