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:01Huy Duc LeHuy Duc LeScore: 5,191Success
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:014,96338,201,79213,896,0001,985,0002,293,760
2Feb 22, 2024 13:014,96333,604,83513,897,0001,985,0002,269,184
3Feb 22, 2024 13:014,96435,533,03413,900,0001,985,0002,293,760
4Feb 22, 2024 13:014,96432,572,11415,886,00002,269,184
5Feb 22, 2024 13:015,00242,464,91314,006,0002,000,0002,293,760
6Feb 22, 2024 13:015,00832,510,80114,024,0002,003,0002,289,664
7Feb 22, 2024 13:015,19148,799,25815,572,0001,038,0002,523,136
8Feb 22, 2024 13:015,19578,456,74516,623,42202,301,952
9Feb 22, 2024 13:015,20064,634,40416,639,03502,297,856
10Feb 22, 2024 13:015,20863,996,02416,664,40802,301,952
11Feb 22, 2024 13:015,27136,457,52215,874,000992,0002,523,136
12Feb 22, 2024 13:015,29842,764,57513,961,0002,991,0002,285,568