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 16:43Hal FHal FScore: 4,878Success
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 16:434,82042,416,78914,395,0001,028,0002,289,664
2Jan 2, 2023 16:434,83032,739,58214,427,0001,030,0002,289,664
3Jan 2, 2023 16:434,84431,904,79715,500,00002,289,664
4Jan 2, 2023 16:434,85336,709,90215,531,00002,277,376
5Jan 2, 2023 16:434,85433,318,24214,498,0001,035,0002,289,664
6Jan 2, 2023 16:434,85933,283,83315,550,00002,277,376
7Jan 2, 2023 16:434,87847,313,55114,568,0001,040,0002,289,664
8Jan 2, 2023 16:434,87933,338,13314,572,0001,040,0002,265,088
9Jan 2, 2023 16:434,88136,997,27914,578,0001,041,0002,289,664
10Jan 2, 2023 16:435,06583,221,57016,206,81802,252,800
11Jan 2, 2023 16:435,07778,706,79316,246,43302,179,072
12Jan 2, 2023 16:435,10994,394,55416,348,87702,301,952