# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
537397 | 79brue | The Kingdom of JOIOI (JOI17_joioi) | C++14 | 822 ms | 16128 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int n, m;
int arr[2002][2002];
int totalMin, totalMax;
int zero[2002][2], one[2002][2];
void flipArr(){
for(int i=1; i<=n; i++) if(i<n+1-i){
for(int j=0; j<2; j++){
swap(zero[i][j], zero[n+1-i][j]);
swap(one[i][j], one[n+1-i][j]);
}
}
// for(int i=1; i<=n; i++) for(int j=0; j<2; j++){
// if(1<=zero[i][j] && zero[i][j]<=m) zero[i][j] = m+1-zero[i][j];
// if(1<=one[i][j] && one[i][j] <= m) one[i][j] = m+1-one[i][j];
// }
}
void swapArr(){
for(int i=1; i<=n; i++) for(int j=0; j<2; j++) swap(zero[i][j], one[i][j]);
}
bool solve(){
/// 왼쪽은 0, 오른쪽은 1
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |