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 listJul 21, 2024 11:04Matt StuchlikMatt StuchlikScore: 4,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:044,79631,136,78213,301,0002,046,0002,269,184
2Jul 21, 2024 11:044,79633,029,72813,302,0002,046,0002,289,664
3Jul 21, 2024 11:044,79732,688,02513,304,0002,046,0002,289,664
4Jul 21, 2024 11:044,80135,601,62813,316,0002,048,0002,265,088
5Jul 21, 2024 11:044,80231,790,00113,317,0002,048,0002,289,664
6Jul 21, 2024 11:044,80437,081,73313,324,0002,049,0002,289,664
7Jul 21, 2024 11:044,80931,852,44713,337,0002,051,0002,523,136
8Jul 21, 2024 11:044,81038,831,82413,340,0002,052,0002,289,664
9Jul 21, 2024 11:044,81536,903,83913,354,0002,054,0002,289,664
10Jul 21, 2024 11:045,03977,838,32916,125,45802,285,568
11Jul 21, 2024 11:045,05988,813,67816,190,39002,293,760
12Jul 21, 2024 11:045,07585,565,12316,239,70702,289,664