# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
146038 | AlexPop28 | Maxcomp (info1cup18_maxcomp) | C++11 | 171 ms | 21368 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define DEBUG(x) cerr << (#x) << ": " << (x) << '\n'
using namespace std;
const int NMAX = 1000;
void Rotate(int &n, int &m, int a[NMAX][NMAX]) {
static int b[NMAX][NMAX];
for (int i = 0; i < n; ++i) {
for (int j = 0; j < m; ++j) {
b[m - j - 1][i] = a[i][j];
}
}
swap(n, m);
for (int i = 0; i < n; ++i) {
for (int j = 0; j < m; ++j) {
a[i][j] = b[i][j];
}
}
}
bool uin(int &a, int &b) {
return a > b ? (a = b, true) : false;
}
int Solve(int n, int m, const int a[NMAX][NMAX]) {
int ans = -1;
pair<pair<int, int>, pair<int, int>> per;
static int minim[NMAX][NMAX];
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |