I spent nearly whole the time on Knight Covering. Can someone tell me where’s my mistake, please? https://www.codechef.com/viewsolution/14285586
for n = 3 and m = 14 the answer should be 11
where as your code gives 12
Thanks a lot!
Here’s a link to my answer if you want to stick to calculating patterns.