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 16, 2024 03:44matsuoka-601matsuoka-601Score: 4,958Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 16, 2024 03:444,86733,417,95315,575,00002,285,568
2Jan 16, 2024 03:444,86841,231,73214,541,0001,038,0002,523,136
3Jan 16, 2024 03:444,88535,547,34214,591,0001,042,0002,285,568
4Jan 16, 2024 03:444,90341,705,23615,689,00002,285,568
5Jan 16, 2024 03:444,90648,282,51314,653,0001,046,0002,535,424
6Jan 16, 2024 03:444,91832,194,24114,688,0001,049,0002,285,568
7Jan 16, 2024 03:444,95833,680,80213,881,0001,983,0002,285,568
8Jan 16, 2024 03:444,96046,414,69114,881,000992,0002,285,568
9Jan 16, 2024 03:444,97932,741,57215,934,00002,269,184
10Jan 16, 2024 03:445,10491,096,54416,331,69502,293,760
11Jan 16, 2024 03:445,10484,702,93816,333,76902,179,072
12Jan 16, 2024 03:445,11376,911,96916,361,99602,179,072