# |
제출 시각 |
아이디 |
문제 |
언어 |
결과 |
실행 시간 |
메모리 |
13337 |
2015-02-12T10:15:30 Z |
ggoh |
게임 (IOI14_game) |
C++ |
|
0 ms |
9876 KB |
#include<cstdio>
int w[1501],m;
void initialize(int n)
{
m=n;
}
int hasEdge(int u,int v)
{
if(w[u]>=m-2||w[v]>=m-2)
{
w[u]++;
w[v]++;
return 1;
}
else
{
w[u]++;
w[v]++;
return 0;
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
9876 KB |
Output is correct |
2 |
Correct |
0 ms |
9876 KB |
Output is correct |
3 |
Correct |
0 ms |
9876 KB |
Output is correct |
4 |
Incorrect |
0 ms |
9876 KB |
Output isn't correct |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
9876 KB |
Output is correct |
2 |
Correct |
0 ms |
9876 KB |
Output is correct |
3 |
Correct |
0 ms |
9876 KB |
Output is correct |
4 |
Incorrect |
0 ms |
9876 KB |
Output isn't correct |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
9876 KB |
Output is correct |
2 |
Correct |
0 ms |
9876 KB |
Output is correct |
3 |
Correct |
0 ms |
9876 KB |
Output is correct |
4 |
Incorrect |
0 ms |
9876 KB |
Output isn't correct |
5 |
Halted |
0 ms |
0 KB |
- |