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 16:33Andranik ChakiryanAndranik ChakiryanScore: 5,791Success
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 16:335,75540,743,68117,394,0001,023,0002,342,912
2Feb 24, 2023 16:335,75837,331,74117,402,0001,023,0002,342,912
3Feb 24, 2023 16:335,76234,739,95618,437,00002,363,392
4Feb 24, 2023 16:335,76232,427,43317,413,0001,024,0002,338,816
5Feb 24, 2023 16:335,77543,066,22916,426,0002,053,0002,437,120
6Feb 24, 2023 16:335,78043,737,78917,468,0001,027,0002,359,296
7Feb 24, 2023 16:335,79140,157,35516,472,0002,059,0002,453,504
8Feb 24, 2023 16:335,80746,949,23417,549,0001,032,0002,342,912
9Feb 24, 2023 16:335,80949,852,76617,556,0001,032,0002,342,912
10Feb 24, 2023 16:335,81363,722,42418,601,51202,179,072
11Feb 24, 2023 16:335,84591,286,06718,702,48502,183,168
12Feb 24, 2023 16:335,99378,094,82519,179,15202,183,168