LeetCode Weekly Contest 244
問題文
省略
省略
C++に変換後のコードはこちら
#define main dummy_main
{}
#undef main
class Solution {
public:
bool findRotation(vector<vector<int>>& mat, vector<vector<int>>& target) {
rep(4){
if(mat==target) return true;
mat = Rot90(mat);
}
return false;
}
};
Current time: 2024年04月23日20時08分33秒
Last modified: 2021年06月07日19時37分41秒 (by laycrs)
Tags: Competitive_Programming_Incomplete LeetCode
トップページに戻る
Logged in as: unknown user (not login)