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 listOct 1, 2023 23:03apuxbtapuxbtScore: 5,635Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2023 23:035,59441,221,65616,907,000994,0002,265,088
2Oct 1, 2023 23:035,60748,871,79616,945,000996,0002,396,160
3Oct 1, 2023 23:035,61343,934,00915,966,0001,995,0002,265,088
4Oct 1, 2023 23:035,61847,341,70615,979,0001,997,0002,383,872
5Oct 1, 2023 23:035,61837,023,18416,980,000998,0002,527,232
6Oct 1, 2023 23:035,63543,390,25916,029,0002,003,0002,265,088
7Oct 1, 2023 23:035,63547,149,75517,031,0001,001,0002,265,088
8Oct 1, 2023 23:035,64647,334,00816,060,0002,007,0002,269,184
9Oct 1, 2023 23:035,66843,811,19816,123,0002,015,0002,383,872
10Oct 1, 2023 23:035,78194,768,97418,499,47602,285,568
11Oct 1, 2023 23:035,79887,360,27918,553,58202,244,608
12Oct 1, 2023 23:035,82791,210,25818,647,75902,240,512