You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bradendubois edited this page Sep 9, 2021
·
7 revisions
Best Compression Ever
ID: bestcompression
Difficulty: 2.1
CPU Time: 1 second
Memory: 1024 MB
Solution
Since the limit is b bits, 2 ^ b+1 -1 gives the value of b bits, all of which are true. If this is at least as large as the number of 1000 bit files (N), then output "yes".