Problem square_ioi
User IWKR
Submission Time 2023-11-25 15:37:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

square_ioi.cpp: In function ‘int findMaxSquare(int (*)[1000], int)’:
square_ioi.cpp:30:28: error: ‘min’ was not declared in this scope
30 | dp[i][j] = min(dp[i - 1][j], dp[i][j + 1]) + 1;
| ^~~
square_ioi.cpp:33:28: error: ‘max’ was not declared in this scope
33 | dp[i][j] = max(dp[i][j], 1);
| ^~~
square_ioi.cpp:35:19: error: ‘max’ was not declared in this scope
35 | ans = max(ans, dp[i][j]);
| ^~~