제출 #858651

#제출 시각아이디문제언어결과실행 시간메모리
858651Naxocist죄수들의 도전 (IOI22_prison)C++17
0 / 100
1 ms348 KiB
#include "prison.h" #include <bits/stdc++.h> using namespace std; vector<vector<int>> devise_strategy(int N) { int x = 500; vector<vector<int>> res(x+1, vector<int>(N+1, 0)); for(int j=1; j<=x; ++j) res[0][j] = j; for(int i=1; i<=x; ++i) { for(int j=1; j<=N; ++j) { res[i][j] = (i > j ? -1 : -2); } } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...