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 listJul 8, 2023 16:25Andrew MoonAndrew MoonScore: 5,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 16:255,30842,745,19214,987,0001,998,0002,265,088
2Jul 8, 2023 16:255,31337,352,22115,002,0002,000,0002,265,088
3Jul 8, 2023 16:255,32841,728,44215,043,0002,005,0002,265,088
4Jul 8, 2023 16:255,33244,697,04415,055,0002,007,0002,265,088
5Jul 8, 2023 16:255,33631,164,82816,072,0001,004,0002,265,088
6Jul 8, 2023 16:255,33743,560,54616,073,0001,004,0002,392,064
7Jul 8, 2023 16:255,35147,389,70816,117,0001,007,0002,396,160
8Jul 8, 2023 16:255,36649,598,89215,152,0002,020,0002,383,872
9Jul 8, 2023 16:255,39236,749,41916,295,000958,0002,265,088
10Jul 8, 2023 16:255,521100,307,60117,665,99202,244,608
11Jul 8, 2023 16:255,53090,456,27417,696,53302,277,376
12Jul 8, 2023 16:255,54485,887,30817,739,77602,273,280