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 listFeb 25, 2023 13:54Andranik ChakiryanAndranik ChakiryanScore: 5,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 13:545,60338,555,75316,934,000996,0002,342,912
2Feb 25, 2023 13:545,61346,154,76415,967,0001,995,0002,363,392
3Feb 25, 2023 13:545,62243,689,55216,990,000999,0002,342,912
4Feb 25, 2023 13:545,62948,384,28617,013,0001,000,0002,342,912
5Feb 25, 2023 13:545,63538,505,35017,031,0001,001,0002,359,296
6Feb 25, 2023 13:545,63644,842,12516,031,0002,003,0002,342,912
7Feb 25, 2023 13:545,64035,033,24817,045,0001,002,0002,363,392
8Feb 25, 2023 13:545,64376,105,98018,057,45002,174,976
9Feb 25, 2023 13:545,64644,288,87516,061,0002,007,0002,453,504
10Feb 25, 2023 13:545,65644,935,05517,093,0001,005,0002,342,912
11Feb 25, 2023 13:545,72089,182,62818,303,70402,179,072
12Feb 25, 2023 13:545,75189,224,76218,404,53602,179,072