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 listJun 12, 2024 03:29Yuriy LyfenkoYuriy LyfenkoScore: 4,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:294,417638,624,03012,115,0002,019,0002,523,136
2Jun 12, 2024 03:294,422643,906,00612,129,0002,021,0002,260,992
3Jun 12, 2024 03:294,427638,450,91213,154,0001,011,0002,523,136
4Jun 12, 2024 03:294,431640,862,33913,167,0001,012,0002,265,088
5Jun 12, 2024 03:294,433638,252,43613,173,0001,013,0002,260,992
6Jun 12, 2024 03:294,443648,089,79712,187,0002,031,0002,265,088
7Jun 12, 2024 03:294,447641,794,30013,213,0001,016,0002,523,136
8Jun 12, 2024 03:294,448636,950,59213,219,0001,016,0002,260,992
9Jun 12, 2024 03:294,459633,390,39014,268,00002,260,992
10Jun 12, 2024 03:294,621681,435,57514,788,66202,285,568
11Jun 12, 2024 03:294,629679,006,86114,811,39302,273,280
12Jun 12, 2024 03:294,646677,133,07714,865,66302,273,280