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 listNov 23, 2024 12:22MatthiasMatthiasScore: 5,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 12:225,10432,095,89015,313,0001,020,0002,514,944
2Nov 23, 2024 12:225,15032,677,76415,451,0001,030,0002,289,664
3Nov 23, 2024 12:225,15538,011,29015,465,0001,031,0002,273,280
4Nov 23, 2024 12:225,16143,935,63915,482,0001,032,0002,277,376
5Nov 23, 2024 12:225,16440,355,94115,494,0001,032,0002,289,664
6Nov 23, 2024 12:225,17441,293,71615,524,0001,034,0002,523,136
7Nov 23, 2024 12:225,17637,827,53515,527,0001,035,0002,289,664
8Nov 23, 2024 12:225,19948,813,08815,599,0001,039,0002,289,664
9Nov 23, 2024 12:225,40649,450,31615,265,0002,035,0002,289,664