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 listAug 3, 2024 19:43jeffplaisancejeffplaisanceScore: 4,395Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:434,37329,798,64212,996,000999,0002,277,376
2Aug 3, 2024 19:434,38128,318,12113,017,0001,001,0002,277,376
3Aug 3, 2024 19:434,38641,115,66813,033,0001,002,0002,277,376
4Aug 3, 2024 19:434,38833,944,79313,039,0001,003,0002,494,464
5Aug 3, 2024 19:434,38929,991,69913,041,0001,003,0002,277,376
6Aug 3, 2024 19:434,39230,706,93513,050,0001,003,0002,498,560
7Aug 3, 2024 19:434,39534,824,43013,059,0001,004,0002,277,376
8Aug 3, 2024 19:434,39942,823,29013,072,0001,005,0002,490,368
9Aug 3, 2024 19:434,40733,302,74313,096,0001,007,0002,277,376
10Aug 3, 2024 19:434,65881,900,86914,904,83802,371,584
11Aug 3, 2024 19:434,66784,724,51014,935,81902,244,608
12Aug 3, 2024 19:434,68280,364,10214,981,76002,244,608