QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#532395#1148. GameWansur0 0ms3820kbC++23282b2024-08-25 03:20:252024-08-25 03:20:25

Judging History

你现在查看的是最新测评结果

  • [2024-08-25 03:20:25]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:3820kb
  • [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