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 9, 2024 20:28джулисджулисScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:285,27433,923,60514,893,0001,985,0002,363,392
2Jun 9, 2024 20:285,29444,716,80715,945,000996,0002,293,760
3Jun 9, 2024 20:285,29750,789,98515,954,000997,0002,293,760
4Jun 9, 2024 20:285,30742,997,16314,985,0001,998,0002,379,776
5Jun 9, 2024 20:285,31743,417,24216,014,0001,000,0002,375,680
6Jun 9, 2024 20:285,31733,386,52015,014,0002,001,0002,371,584
7Jun 9, 2024 20:285,33144,905,01715,052,0002,007,0002,375,680
8Jun 9, 2024 20:285,33649,460,58717,075,00002,293,760
9Jun 9, 2024 20:285,34743,969,32616,103,0001,006,0002,293,760
10Jun 9, 2024 20:285,56273,484,97017,799,08002,252,800
11Jun 9, 2024 20:285,57991,607,77717,852,44502,232,320
12Jun 9, 2024 20:285,59895,936,94917,912,88002,244,608