Ferux Iuvenis
jolly_cerf_752
Приєднався 17 жовт. 2025 р.
Задачі59
Відправки78
Where's the image/figure?
"A rectangular room of size M×N (first along the horizontal, then along the vertical) is tiled with triangular tiles, which are numbered as shown in the figure."
Exactly what is "norm"? is it average(sum A / len A) or like [2,3,4] for input [5,4,8,1,6]?
asdasdas try to use each rule's description. Example: if heads are odd number, we can NEVER kill the dragon since cutting one-by-one doesn't change the head count, and cutting two-by-two, yes, decreases the count ttwo-by-two, but since the number is odd, that odd can never be cut.
This was just an example, try to combine each rule and their "affect to the count of N/M" to solve the problem.
Btw it's a math problem, no dynamic programming or matrix