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 23, 2023 22:39Andranik ChakiryanAndranik ChakiryanScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 22:395,59643,328,49916,853,0001,053,0002,359,296
2Feb 23, 2023 22:395,60733,443,65115,950,0001,993,0002,478,080
3Feb 23, 2023 22:395,60846,086,46615,952,0001,994,0002,473,984
4Feb 23, 2023 22:395,61444,651,19116,966,000998,0002,342,912
5Feb 23, 2023 22:395,62948,709,62616,013,0002,001,0002,478,080
6Feb 23, 2023 22:395,63835,476,10617,039,0001,002,0002,342,912
7Feb 23, 2023 22:395,64344,394,47116,050,0002,006,0002,334,720
8Feb 23, 2023 22:395,65336,651,09216,079,0002,009,0002,355,200
9Feb 23, 2023 22:395,66646,478,77617,123,0001,007,0002,342,912
10Feb 23, 2023 22:395,70086,317,18918,241,05702,183,168
11Feb 23, 2023 22:395,73761,702,79718,359,73702,187,264
12Feb 23, 2023 22:395,773102,472,81918,474,38002,183,168