# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
823764 | ZHIRDILBILDIZ | Vision Program (IOI19_vision) | C++14 | 6 ms | 296 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
#include "vision.h"
#define fi first
#define se second
#define ll long long
using namespace std ;
const int N = 200, M = 200 ;
//int add_not(int n)
//{
//}
//int add_and(vector<int> v)
//{
//}
//int add_or(vector<int> v)
//{
//}
//int add_xor(vector<int> v)
//{
//}
void construct_network(int n, int m, int k)
{
for(int x1 = 0 ; x1 < n ; x1++)
for(int y1 = 0 ; y1 < m ; y1++)
for(int x2 = x1 ; x2 < n ; x2++)
for(int y2 = y2 ; y2 < m ; y2++)
{
if(abs(x1 - x2) + abs(y2 - y1) == 0)
continue ;
vector<int> v ;
v.push_back(x1 * m + y1) ;
v.push_back(x2 * m + y2) ;
if(add_and(v) == 1 && add_xor(v) == 0)
{
if(abs(x1 - x2) + abs(y2 - y1) == k)
add_and(v) ;
else
add_xor(v) ;
return ;
}
}
}
//signed main()
//{
// int n, m, k ;
// cin >> n >> m >> k ;
// for(int i = 0 ; i < n ; i++)
// for(int j = 0 ; j < n ; j++)
// cin >> a[i][j] ;
// construct_network(n, m, k) ;
// return 0 ;
//}
컴파일 시 표준 에러 (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... |
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |