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:53CountHarebourgCountHarebourgScore: 4,676Success
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:504,66431,204,11412,935,0001,990,0002,289,664
2Apr 5, 2025 16:494,67039,713,81612,951,0001,992,0002,277,376
3Apr 5, 2025 16:494,67230,438,11612,958,0001,993,0002,269,184
4Apr 5, 2025 16:494,67332,670,91912,960,0001,993,0002,285,568
5Apr 5, 2025 16:504,67648,992,20112,968,0001,995,0002,289,664
6Apr 5, 2025 16:534,67631,612,86412,968,0001,995,0002,396,160
7Apr 5, 2025 16:504,67934,042,13412,976,0001,996,0002,289,664
8Apr 5, 2025 16:534,68529,851,31713,993,000999,0002,383,872
9Apr 5, 2025 16:534,72635,926,22213,108,0002,016,0002,277,376