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 22, 2023 21:35Andranik ChakiryanAndranik ChakiryanScore: 5,881Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2023 21:355,82838,735,00816,577,0002,072,0002,338,816
2Feb 22, 2023 21:355,83342,693,86618,666,00002,342,912
3Feb 22, 2023 21:355,84438,283,92418,701,00002,351,104
4Feb 22, 2023 21:355,84638,520,90817,668,0001,039,0002,342,912
5Feb 22, 2023 21:355,85740,093,46418,743,00002,342,912
6Feb 22, 2023 21:355,85845,146,42917,704,0001,041,0002,478,080
7Feb 22, 2023 21:355,88174,669,21518,820,65302,187,264
8Feb 22, 2023 21:355,89747,419,44118,870,00002,359,296
9Feb 22, 2023 21:355,90442,753,06317,898,000994,0002,342,912
10Feb 22, 2023 21:355,90448,032,74017,900,000994,0002,486,272
11Feb 22, 2023 21:355,935104,931,45518,991,40902,195,456
12Feb 22, 2023 21:356,02284,343,31619,270,57802,187,264