QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#532395 | #1148. Game | Wansur | 0 | 0ms | 3820kb | C++23 | 282b | 2024-08-25 03:20:25 | 2024-08-25 03:20:25 |
answer
#include <bits/stdc++.h>
#include "game.h"
using namespace std;
typedef long long ll;
const int maxn = 2020;
int cnt[maxn];
int n;
void initialize(int N){
n = N;
}
int hasEdge(int u, int v){
cnt[v]++, cnt[u]++;
return max(cnt[v], cnt[u]) == n - 1;
}
詳細信息
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 15
Accepted
time: 0ms
memory: 3556kb
input:
4 0 1 3 0 1 2 0 2 3 1 2 3
output:
0 0 0 1 1 1
result:
ok correct
Test #2:
score: 15
Accepted
time: 0ms
memory: 3600kb
input:
4 0 3 2 0 0 1 1 2 1 3 2 3
output:
0 0 1 0 1 1
result:
ok correct
Test #3:
score: 15
Accepted
time: 0ms
memory: 3780kb
input:
4 0 3 1 0 0 2 3 1 1 2 2 3
output:
0 0 1 0 1 1
result:
ok correct
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 3600kb
input:
4 3 1 1 2 0 2 0 3 1 0 3 2
output:
0 0 0 0 1 1
result:
wrong answer not correct
Subtask #2:
score: 0
Wrong Answer
Test #25:
score: 27
Accepted
time: 0ms
memory: 3668kb
input:
4 0 1 3 0 1 2 0 2 3 1 2 3
output:
0 0 0 1 1 1
result:
ok correct
Test #26:
score: 27
Accepted
time: 0ms
memory: 3560kb
input:
4 0 3 2 0 0 1 1 2 1 3 2 3
output:
0 0 1 0 1 1
result:
ok correct
Test #27:
score: 27
Accepted
time: 0ms
memory: 3688kb
input:
4 0 3 1 0 0 2 3 1 1 2 2 3
output:
0 0 1 0 1 1
result:
ok correct
Test #28:
score: 0
Wrong Answer
time: 0ms
memory: 3564kb
input:
4 3 1 1 2 0 2 0 3 1 0 3 2
output:
0 0 0 0 1 1
result:
wrong answer not correct
Subtask #3:
score: 0
Wrong Answer
Test #79:
score: 58
Accepted
time: 0ms
memory: 3820kb
input:
4 0 1 3 0 1 2 0 2 3 1 2 3
output:
0 0 0 1 1 1
result:
ok correct
Test #80:
score: 58
Accepted
time: 0ms
memory: 3808kb
input:
4 0 3 2 0 0 1 1 2 1 3 2 3
output:
0 0 1 0 1 1
result:
ok correct
Test #81:
score: 58
Accepted
time: 0ms
memory: 3608kb
input:
4 0 3 1 0 0 2 3 1 1 2 2 3
output:
0 0 1 0 1 1
result:
ok correct
Test #82:
score: 0
Wrong Answer
time: 0ms
memory: 3800kb
input:
4 3 1 1 2 0 2 0 3 1 0 3 2
output:
0 0 0 0 1 1
result:
wrong answer not correct