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 22, 2024 13:19Huy Duc LeHuy Duc LeScore: 4,867Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:194,83140,036,40214,428,0001,030,0002,289,664
2Feb 22, 2024 13:194,83333,277,78514,436,0001,031,0002,289,664
3Feb 22, 2024 13:194,83435,031,11214,437,0001,031,0002,289,664
4Feb 22, 2024 13:194,84538,205,78015,505,00002,277,376
5Feb 22, 2024 13:194,85338,789,53714,496,0001,035,0002,289,664
6Feb 22, 2024 13:194,86232,527,36114,522,0001,037,0002,289,664
7Feb 22, 2024 13:194,86742,879,90815,575,00002,277,376
8Feb 22, 2024 13:194,87737,922,73014,567,0001,040,0002,281,472
9Feb 22, 2024 13:194,89631,672,39014,624,0001,044,0002,289,664
10Feb 22, 2024 13:195,06765,284,49616,215,17002,297,856
11Feb 22, 2024 13:195,07465,665,52116,236,00002,183,168
12Feb 22, 2024 13:195,07564,776,96116,240,61302,306,048