# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
893264 | Macker | Mecho (IOI09_mecho) | C++17 | 286 ms | 1516 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define all(v) v.begin(), v.end()
#define pii pair<int, int>
#define v(x) v[x.first][x.second]
#define bs(x) bs[x.first][x.second]
//#pragma GCC optimize("Ofast")
//#pragma GCC target("avx2")
int n, s;
vector<vector<bool>> mp;
vector<pii> hives;
pii strt;
pii trgt;
vector<pii> adj = {{1, 0}, {0, 1}, {-1, 0}, {0, -1}};
bool in(pii x){
if(x.first < 0 || x.first >= n) return 0;
if(x.second < 0 || x.second >= n) return 0;
return 1;
}
bool can(int t){
vector<vector<bool>> v = mp;
vector<vector<bool>> bs;
bs.resize(n, vector<bool>(n));
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |