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 listJan 2, 2023 17:43Jack FrigaardJack FrigaardScore: 4,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:434,83438,600,64514,438,0001,031,0002,285,568
2Jan 2, 2023 17:434,83642,819,42715,475,00002,269,184
3Jan 2, 2023 17:434,84138,882,42314,459,0001,032,0002,527,232
4Jan 2, 2023 17:434,84332,901,37314,465,0001,033,0002,375,680
5Jan 2, 2023 17:434,85532,964,74714,502,0001,035,0002,273,280
6Jan 2, 2023 17:434,85639,362,71115,539,00002,285,568
7Jan 2, 2023 17:434,85733,014,45314,506,0001,036,0002,269,184
8Jan 2, 2023 17:434,85834,101,20214,511,0001,036,0002,273,280
9Jan 2, 2023 17:434,88136,463,40314,578,0001,041,0002,285,568
10Jan 2, 2023 17:435,07494,271,82916,238,33002,293,760
11Jan 2, 2023 17:435,10670,530,33116,340,77502,293,760
12Jan 2, 2023 17:435,13270,879,13016,423,52002,293,760