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 listDec 23, 2024 22:06IhebIhebScore: 4,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 22:004,44628,686,27412,196,0002,032,0002,387,968
2Dec 23, 2024 22:064,45831,162,60013,248,0001,019,0002,260,992
3Dec 23, 2024 22:064,46031,140,28212,234,0002,039,0002,260,992
4Dec 23, 2024 22:044,46131,527,37713,256,0001,019,0002,260,992
5Dec 23, 2024 22:004,46229,812,36412,238,0002,039,0002,260,992
6Dec 23, 2024 22:004,46332,285,23813,263,0001,020,0002,265,088
7Dec 23, 2024 22:064,46339,239,71513,260,0001,020,0002,260,992
8Dec 23, 2024 22:004,46735,743,12312,253,0002,042,0002,260,992
9Dec 23, 2024 22:004,46931,737,68413,279,0001,021,0002,260,992
10Dec 23, 2024 22:004,47034,136,37312,262,0002,043,0002,260,992
11Dec 23, 2024 22:004,47428,748,64813,294,0001,022,0002,260,992
12Dec 23, 2024 22:004,47635,352,87614,322,00002,260,992
13Dec 23, 2024 22:064,47736,029,11214,325,00002,260,992
14Dec 23, 2024 22:044,47831,111,79713,305,0001,023,0002,260,992
15Dec 23, 2024 22:064,47831,481,19114,330,00002,260,992
16Dec 23, 2024 22:064,47934,506,43713,310,0001,023,0002,387,968
17Dec 23, 2024 22:064,48229,364,25514,343,00002,260,992
18Dec 23, 2024 22:004,48529,214,35014,352,00002,392,064
19Dec 23, 2024 22:064,49031,295,43613,343,0001,026,0002,260,992
20Dec 23, 2024 22:044,49734,882,50314,390,00002,260,992
21Dec 23, 2024 22:064,50735,227,70213,391,0001,030,0002,523,136