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 listMar 25, 2025 10:12parastromparastromScore: 25,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 10:1225,498110,153,90380,587,0001,007,0002,375,680
2Mar 25, 2025 10:1225,568113,687,40579,824,0001,995,0002,289,664
3Mar 25, 2025 10:1225,577105,332,10180,849,000998,0002,367,488
4Mar 25, 2025 10:1225,599111,311,76179,919,0001,997,0002,289,664
5Mar 25, 2025 10:1225,642105,526,56781,055,0001,000,0002,289,664
6Mar 25, 2025 10:1225,648106,448,16382,072,00002,367,488
7Mar 25, 2025 10:1225,658104,388,95981,105,0001,001,0002,363,392
8Mar 25, 2025 10:1225,711104,563,13581,271,0001,003,0002,359,296
9Mar 25, 2025 10:1225,767111,352,10181,448,0001,005,0002,289,664