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 20, 2023 19:33Andranik ChakiryanAndranik ChakiryanScore: 5,902Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 19:335,84842,607,47617,674,0001,039,0002,347,008
2Feb 20, 2023 19:335,85246,474,10318,727,00002,342,912
3Feb 20, 2023 19:335,85534,816,10218,735,00002,334,720
4Feb 20, 2023 19:335,89948,429,36516,891,0001,987,0002,342,912
5Feb 20, 2023 19:335,90137,336,58616,895,0001,987,0002,338,816
6Feb 20, 2023 19:335,90152,791,77016,897,0001,987,0002,355,200
7Feb 20, 2023 19:335,90249,418,54715,904,0002,982,0002,334,720
8Feb 20, 2023 19:335,90338,745,61917,895,000994,0002,351,104
9Feb 20, 2023 19:335,91047,634,71518,911,00002,351,104
10Feb 20, 2023 19:336,02898,536,05419,289,18402,174,976
11Feb 20, 2023 19:336,10999,834,51819,548,89802,301,952
12Feb 20, 2023 19:336,17388,971,76219,752,74002,183,168