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 listJun 15, 2024 17:29ii14ii14Score: 5,795Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:295,69835,266,61015,195,0003,039,0002,387,968
2Jun 15, 2024 17:295,73640,138,64317,336,0001,019,0002,387,968
3Jun 15, 2024 17:295,73946,363,40317,346,0001,020,0002,392,064
4Jun 15, 2024 17:295,77046,870,79218,465,00002,387,968
5Jun 15, 2024 17:295,77240,027,27218,471,00002,387,968
6Jun 15, 2024 17:295,79239,616,92715,446,0003,089,0002,392,064
7Jun 15, 2024 17:295,79546,212,88418,544,00002,387,968
8Jun 15, 2024 17:295,80235,375,19817,536,0001,031,0002,519,040
9Jun 15, 2024 17:295,85149,389,25916,753,0001,970,0002,260,992
10Jun 15, 2024 17:295,99793,475,54619,189,62202,281,472
11Jun 15, 2024 17:296,00974,120,54119,227,52702,289,664
12Jun 15, 2024 17:296,05572,845,88019,374,56102,281,472