Help wanted for a problem

Revision en1, by EarthMessenger, 2022-10-17 16:59:30

Problem Statment

You're given a matrix of N rows and M columns, and Q queries. (1 <= N, M, Q <= 1000)
For each query Q (x, y, c), you need to rotate clockwise the square child matrix whose upper left corner is (x, y) and lower right corner is (x + c — 1, y + c — 1).
Print the final matrix as result.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English EarthMessenger 2022-10-17 17:13:22 443 (published)
en1 English EarthMessenger 2022-10-17 16:59:30 370 Initial revision (saved to drafts)