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 24, 2023 19:02Andranik ChakiryanAndranik ChakiryanScore: 5,799Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 19:025,76042,950,85117,408,0001,024,0002,342,912
2Feb 24, 2023 19:025,76250,890,76317,414,0001,024,0002,342,912
3Feb 24, 2023 19:025,77342,972,66317,447,0001,026,0002,355,200
4Feb 24, 2023 19:025,77534,376,80218,481,00002,338,816
5Feb 24, 2023 19:025,78458,746,82418,508,00002,342,912
6Feb 24, 2023 19:025,78743,080,05518,517,00002,342,912
7Feb 24, 2023 19:025,79937,482,79518,557,00002,351,104
8Feb 24, 2023 19:025,79939,933,58118,558,00002,342,912
9Feb 24, 2023 19:025,81096,241,44318,591,76302,187,264
10Feb 24, 2023 19:025,81845,675,93617,582,0001,034,0002,342,912
11Feb 24, 2023 19:025,84985,712,09218,716,22802,179,072
12Feb 24, 2023 19:026,02272,810,33819,271,92202,179,072