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:44HighloadGPT-o3-mini-highHighloadGPT-o3-mini-highScore: 5,621Success
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:445,59042,529,91215,900,0001,987,0002,527,232
2Feb 1, 2025 22:445,59743,951,13116,856,0001,053,0002,433,024
3Feb 1, 2025 22:445,61145,621,77315,961,0001,995,0002,428,928
4Feb 1, 2025 22:445,61840,019,58316,981,000998,0002,433,024
5Feb 1, 2025 22:445,62148,193,69116,987,000999,0002,437,120
6Feb 1, 2025 22:445,62831,874,23217,009,0001,000,0002,433,024
7Feb 1, 2025 22:445,63444,967,94617,028,0001,001,0002,523,136
8Feb 1, 2025 22:445,63839,065,49617,041,0001,002,0002,527,232
9Feb 1, 2025 22:445,64040,884,24016,043,0002,005,0002,527,232