# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
49778 | mra2322001 | 호화 벙커 (IZhO13_burrow) | C++14 | 1141 ms | 62528 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define f0(i, n) for(int i(0); i<(n); i++)
#define f1(i, n) for(int i(1); i<=(n); i++)
using namespace std;
typedef long long ll;
const int N = 1002;
int m, n, a[N][N], d[N][N], b[N], l[N], r[N], arr[N][N], k;
vector <int> save;
int check(int x){
f1(i, m) f1(j, n){
d[i][j] = 0;
if(arr[i][j] >= x) a[i][j] = 1;
else a[i][j] = 0;
}
f1(i, m){
for(int j = n; j>= 1; j--){
if(!a[i][j]) d[i][j] = 0;
else{
d[i][j] = d[i][j + 1] + 1;
}
}
}
int res = 0;
f1(j, n){
f1(i, m) b[i] = d[i][j], l[i] = r[i] = 0;
stack <int> s;
f1(i, m){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |