답안 #17481

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
17481 2015-12-20T13:38:07 Z kdh9949 게임 (IOI14_game) C++
0 / 100
0 ms 9876 KB
int cnt[1500] = {};

void initialize(int n){}

int hasEdge(int u, int v){
    int m = u < v ? u : v;
    cnt[m]++;
    if(cnt[m] == m - 1) return 1;
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 9876 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 9876 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 9876 KB Output isn't correct
2 Halted 0 ms 0 KB -