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 listJul 8, 2023 09:36Andrew MoonAndrew MoonScore: 5,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 09:365,34141,772,50915,080,0002,010,0002,265,088
2Jul 8, 2023 09:365,34334,252,68215,088,0002,011,0002,387,968
3Jul 8, 2023 09:365,34440,152,34815,089,0002,011,0002,383,872
4Jul 8, 2023 09:365,35841,149,14615,130,0002,017,0002,379,776
5Jul 8, 2023 09:365,36646,782,43616,160,0001,010,0002,265,088
6Jul 8, 2023 09:365,37447,418,16115,175,0002,023,0002,387,968
7Jul 8, 2023 09:365,38542,447,03215,204,0002,027,0002,510,848
8Jul 8, 2023 09:365,38847,666,85516,227,0001,014,0002,527,232
9Jul 8, 2023 09:365,42040,146,52316,325,0001,020,0002,265,088
10Jul 8, 2023 09:365,59258,611,55817,892,87802,277,376
11Jul 8, 2023 09:365,59861,087,22417,913,64302,289,664
12Jul 8, 2023 09:365,62485,540,72717,997,22802,281,472