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:49Yuriy LyfenkoYuriy LyfenkoScore: 4,476Success
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:494,405540,721,35412,083,0002,013,0002,260,992
2Jun 12, 2024 02:494,413539,694,72512,104,0002,017,0002,523,136
3Jun 12, 2024 02:494,415540,444,14612,109,0002,018,0002,265,088
4Jun 12, 2024 02:494,432539,000,51313,169,0001,013,0002,260,992
5Jun 12, 2024 02:494,439540,436,06312,175,0002,029,0002,527,232
6Jun 12, 2024 02:494,446536,019,12412,194,0002,032,0002,523,136
7Jun 12, 2024 02:494,476541,246,46313,300,0001,023,0002,260,992
8Jun 12, 2024 02:494,479535,141,12812,285,0002,047,0002,260,992
9Jun 12, 2024 02:494,485538,624,59912,303,0002,050,0002,523,136
10Jun 12, 2024 02:494,622583,358,96114,790,79702,240,512
11Jun 12, 2024 02:494,671586,755,46814,947,39702,342,912
12Jun 12, 2024 02:494,683579,398,25514,985,20802,289,664