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:31Andranik ChakiryanAndranik ChakiryanScore: 5,906Success
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:315,86048,522,12218,752,00002,342,912
2Feb 20, 2023 19:315,89544,991,44817,872,000992,0002,338,816
3Feb 20, 2023 19:315,89933,904,11017,883,000993,0002,338,816
4Feb 20, 2023 19:315,89946,715,11216,891,0001,987,0002,342,912
5Feb 20, 2023 19:315,90041,646,91916,892,0001,987,0002,342,912
6Feb 20, 2023 19:315,90146,808,76117,890,000993,0002,342,912
7Feb 20, 2023 19:315,90643,864,30917,904,000994,0002,469,888
8Feb 20, 2023 19:315,91741,743,41516,941,0001,993,0002,342,912
9Feb 20, 2023 19:315,91937,352,71316,947,0001,993,0002,338,816
10Feb 20, 2023 19:315,932104,818,85018,982,62602,301,952
11Feb 20, 2023 19:315,97582,699,46819,120,96902,183,168
12Feb 20, 2023 19:316,00688,557,32919,218,17402,297,856