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,439Success
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,421543,747,18712,126,0002,021,0002,265,088
2Jun 12, 2024 02:494,429538,901,69812,148,0002,024,0002,523,136
3Jun 12, 2024 02:494,429539,588,93014,173,00002,523,136
4Jun 12, 2024 02:494,437536,338,06013,183,0001,014,0002,523,136
5Jun 12, 2024 02:494,437535,636,08412,170,0002,028,0002,265,088
6Jun 12, 2024 02:494,437538,621,08813,185,0001,014,0002,260,992
7Jun 12, 2024 02:494,439537,496,20713,192,0001,014,0002,523,136
8Jun 12, 2024 02:494,453540,607,49412,214,0002,035,0002,523,136
9Jun 12, 2024 02:494,455540,419,51414,255,00002,265,088
10Jun 12, 2024 02:494,588567,575,53614,681,51802,240,512
11Jun 12, 2024 02:494,612573,438,08414,759,27502,244,608
12Jun 12, 2024 02:494,621572,235,32314,786,25502,285,568