# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1214728 | 12baater | 게임 (IOI14_game) | C++20 | 0 ms | 324 KiB |
#include "game.h"
#include <algorithm>
using namespace std;
int N,arr[1500];
void initialize(int n) {
N=n;
}
int hasEdge(int u, int v) {
u++;v++;
if (u>v) swap(u,v);
return (2*u == v || 2*u+1 == v);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |