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 listApr 5, 2025 16:39CountHarebourgCountHarebourgScore: 4,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 16:394,66236,514,51812,929,0001,989,0002,289,664
2Apr 5, 2025 16:394,66733,233,70312,943,0001,991,0002,289,664
3Apr 5, 2025 16:394,66941,054,95512,949,0001,992,0002,527,232
4Apr 5, 2025 16:394,67832,511,35812,973,0001,995,0002,281,472
5Apr 5, 2025 16:394,68130,727,22712,983,0001,997,0002,383,872
6Apr 5, 2025 16:394,69345,587,31413,016,0002,002,0002,289,664
7Apr 5, 2025 16:394,69631,281,53513,024,0002,003,0002,269,184
8Apr 5, 2025 16:394,71434,517,01813,073,0002,011,0002,269,184
9Apr 5, 2025 16:394,71530,983,02213,077,0002,011,0002,289,664