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 listMay 12, 2025 08:47zielajzielajScore: 4,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2025 22:304,12636,247,71012,187,0001,015,0002,265,088
2May 13, 2025 00:334,12830,343,38212,194,0001,016,0002,494,464
3May 13, 2025 00:334,13633,975,21612,217,0001,018,0002,527,232
4May 11, 2025 22:304,14131,063,57112,232,0001,019,0002,490,368
5May 12, 2025 08:474,15340,217,51413,289,00002,490,368
6May 12, 2025 08:474,16030,345,79013,313,00002,527,232
7May 12, 2025 08:474,16529,490,44813,328,00002,527,232
8May 13, 2025 00:334,16526,616,17813,329,00002,494,464
9May 11, 2025 22:304,18026,505,72312,348,0001,029,0002,527,232