Yes, if the function is in O(n^2), it is also in O(n^1000).
If you get a full (or any) loan to answer this question, it depends on the person who is evaluating your exam, of course, so I can’t tell you this (maybe not). But yes, this is technically correct.
If you decide to go this route, you should probably choose something like O(n^n)or O(Ackermann(n)), because, for example, exponential functions are not in O(n^1000).
, , , . , . "n^n , , , , " ". , , O(n^n), , , .