|  | 
|  | 
| | What could be the reason???8<@...<@...<@...<@.....@>...@>...@>...@>
 .OO=..OO=..OO=..OO=.=OO..=OO..=OO..=OO.
 ./\.../\.../\.../\.../\.../\.../\.../\.
 
 Answer: 0
I have WA in the 9th test, please tell me this test. We have 4 case of perfect position of birds. I found the amount of flips for all cases. I used min_element() from algorithm.h to find the result, but it gave me WA 9. Then i replaced min_element() and found minimal by myself and my code finally accepted. Hope it will help you, good luck! | 
 | 
|