ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1996. Cipher Message 3

Can't understand the first test case
Posted by BUET_Bats 26 Oct 2013 15:33
3 2
11110001 11110001 11110000
11110000 11110000

If you alter one bit, it will become
11110000 11110000 11110001

So how the answer is 1 2? Shouldn't it be 1 1? Or we have to alter only the first byte?
Re: Can't understand the first test case
Posted by espr1t 26 Oct 2013 17:29
What you suggest changes 2 bits and you want the replacement with minimal number of bits ("And if it is, find the minimum number of bits to alter.").
Edited by author 26.10.2013 17:33

Edited by author 26.10.2013 17:36
Re: Can't understand the first test case
Posted by IPRIT 2 Aug 2014 17:59
Use the FFTW.