What this question actually mean, I did t understand ? Please help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What this question actually mean, I did t understand ? Please help!

https://cses.fi/problemset/task/1072

25th Apr 2021, 10:24 AM
Coding San
Coding San - avatar
2 Answers
+ 1
This question says that suppose you have two knights(move diagonally) and you wanna place them in k*k chessboard so that they can not attack(simply no in diagonal with other knight) You need to tell the number of ways to do that
25th Apr 2021, 12:56 PM
YUGRAJ
+ 1
And also you have to print answer for each k (1<=k<=n) (simply 1 to k)
25th Apr 2021, 12:58 PM
YUGRAJ