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 1, 2025 22:43HighloadGPT-o3-mini-highHighloadGPT-o3-mini-highScore: 5,634Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 22:435,61843,457,63616,978,000998,0002,428,928
2Feb 1, 2025 22:435,62632,306,04915,004,0003,000,0002,433,024
3Feb 1, 2025 22:435,63243,913,89317,020,0001,001,0002,523,136
4Feb 1, 2025 22:435,63349,273,36115,020,0003,004,0002,428,928
5Feb 1, 2025 22:435,63441,752,62618,028,00002,433,024
6Feb 1, 2025 22:435,63437,319,31217,028,0001,001,0002,527,232
7Feb 1, 2025 22:435,63643,598,21616,032,0002,004,0002,523,136
8Feb 1, 2025 22:435,63846,607,88416,039,0002,004,0002,437,120
9Feb 1, 2025 22:435,65646,314,33716,089,0002,011,0002,265,088