# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
253376 | Tuk1352 | Soccer (JOI17_soccer) | C++11 | 620 ms | 36072 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(false); cin.tie(0);
int H, W, n;
cin >> H >> W;
long long A, B, C;
cin >> A >> B >> C >> n;
long long Y[n], X[n];
long long D[5][H+1][W+1], G[5][H+1][W+1], Di[H+1][W+1], Gd[H+1][W+1];
for (int y = 0; y <= H; y++)
{
for (int u = 0; u <= W; u++)
{
Di[y][u] = 2000000000000;
Gd[y][u] = 1;
for (int i = 0; i < 5; i++)
{
D[i][y][u] = 2000000000000000000;
G[i][y][u] = 1;
}
}
}
vector <pair<int,int>> T;
for (int i = 0; i < n; i++)
{
cin >> Y[i] >> X[i];
Di[Y[i]][X[i]] = 0;
if (Gd[Y[i]][X[i]] == 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... |