| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1316111 | afric | 게임 (IOI14_game) | C++20 | 161 ms | 7068 KiB |
//https://ioinformatics.org/files/ioi2014problem3.pdf
#include <bits/stdc++.h>
using namespace std;
vector<int> a;
void initialize(int n)
{
for (int i = 0 ; i < n; i++)
{
a.push_back(0);
}
}
int hasEdge(int u,int v)
{
a[max(u,v)]++;
if (a[max(u,v)]==max(u,v))
{
return 1;
}
else{
return 0;
}
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
