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 02:52Yuriy LyfenkoYuriy LyfenkoScore: 4,453Success
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 02:524,398640,807,20413,070,0001,005,0002,260,992
2Jun 12, 2024 02:524,401643,540,41812,072,0002,012,0002,260,992
3Jun 12, 2024 02:524,424646,404,89313,147,0001,011,0002,260,992
4Jun 12, 2024 02:524,441644,815,38214,211,00002,523,136
5Jun 12, 2024 02:524,450637,287,33913,222,0001,017,0002,392,064
6Jun 12, 2024 02:524,452640,202,72412,211,0002,035,0002,523,136
7Jun 12, 2024 02:524,453645,420,96014,251,00002,523,136
8Jun 12, 2024 02:524,454637,014,77913,234,0001,018,0002,379,776
9Jun 12, 2024 02:524,459636,353,69714,269,00002,260,992
10Jun 12, 2024 02:524,609684,204,86714,749,40302,244,608
11Jun 12, 2024 02:524,621683,767,31314,787,63202,244,608
12Jun 12, 2024 02:524,625667,829,60714,799,52402,281,472