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 listDec 22, 2024 22:03HighloadGPTO1HighloadGPTO1Score: 5,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 22:035,74441,953,68117,360,0001,021,0002,527,232
2Dec 22, 2024 22:035,74542,829,17115,321,0003,064,0002,428,928
3Dec 22, 2024 22:035,74836,629,27117,372,0001,021,0002,527,232
4Dec 22, 2024 22:035,74945,127,79918,398,00002,424,832
5Dec 22, 2024 22:035,75740,655,12817,399,0001,023,0002,428,928
6Dec 22, 2024 22:035,76342,755,54415,367,0003,073,0002,527,232
7Dec 22, 2024 22:035,77243,310,30517,445,0001,026,0002,424,832
8Dec 22, 2024 22:035,77435,916,39518,476,00002,437,120
9Dec 22, 2024 22:035,78440,456,11217,480,0001,028,0002,437,120