QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#768323#1814. Kingdoms and QuarantineFantasy_BallWA 1ms4068kbC++202.3kb2024-11-21 09:21:412024-11-21 09:21:42

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3980kb

input:

2 3 5
1 3
1 4
1 5
2 4
2 5

output:

3
1 4 2 

result:

ok accepted

Test #2:

score: 0
Accepted
time: 0ms
memory: 4004kb

input:

1 2 2
1 2
1 3

output:

0

result:

ok accepted

Test #3:

score: 0
Accepted
time: 0ms
memory: 4004kb

input:

4 3 7
1 5
2 5
2 6
2 7
3 6
4 5
4 7

output:

5
1 7 6 2 4 

result:

ok accepted

Test #4:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

10 10 20
2 11
2 17
1 12
8 14
9 15
10 12
9 13
1 18
3 15
2 14
2 16
7 13
8 15
8 20
9 12
6 13
8 16
6 11
4 20
6 16

output:

11
1 4 5 6 12 13 9 14 20 11 18 

result:

ok accepted

Test #5:

score: 0
Accepted
time: 0ms
memory: 3988kb

input:

10 10 30
8 18
9 12
10 19
10 14
2 16
1 11
6 13
1 18
4 12
9 13
4 20
8 16
2 20
5 20
7 14
3 15
5 18
2 12
4 15
5 17
4 18
5 19
7 17
3 16
7 19
8 19
1 19
10 18
10 12
3 18

output:

21
2 6 13 17 8 18 19 11 21 24 16 25 22 20 23 26 1 28 3 27 29 

result:

ok accepted

Test #6:

score: 0
Accepted
time: 0ms
memory: 3920kb

input:

10 10 50
10 12
3 20
7 20
8 19
5 17
6 16
10 13
10 15
3 15
4 17
4 19
9 19
10 16
1 17
9 18
3 17
6 11
8 12
8 20
9 11
6 20
2 14
6 12
7 11
5 15
7 15
7 17
10 18
5 18
4 12
4 18
7 16
4 20
10 19
1 18
7 12
8 16
8 11
2 18
8 13
2 19
1 16
8 17
6 19
9 15
2 12
10 11
6 14
2 11
7 14

output:

22
2 8 15 17 21 3 22 23 24 42 6 35 44 34 13 45 20 25 48 49 50 36 

result:

ok accepted

Test #7:

score: 0
Accepted
time: 0ms
memory: 3992kb

input:

10 10 100
7 18
10 12
2 20
3 16
5 14
2 13
10 16
2 15
8 15
3 15
7 16
6 15
3 18
1 19
6 14
1 14
2 11
9 13
5 11
5 13
5 20
7 13
9 11
7 12
10 13
1 11
6 19
5 19
4 11
4 13
10 15
6 17
1 16
3 19
3 14
4 20
2 12
4 14
8 16
1 12
6 20
3 11
9 15
7 17
7 20
9 17
10 20
1 20
4 19
2 17
6 12
9 12
4 12
1 15
3 13
9 20
3 17
...

output:

10
2 5 17 61 79 89 95 96 97 99 

result:

ok accepted

Test #8:

score: -100
Wrong Answer
time: 1ms
memory: 4068kb

input:

60 60 200
40 91
35 64
3 105
48 110
4 115
36 77
2 104
14 111
43 68
23 112
37 62
40 68
57 106
22 95
9 89
29 69
24 101
52 75
26 63
60 115
50 118
26 93
30 73
38 116
54 97
55 76
10 97
8 82
1 74
29 89
27 72
33 102
7 86
51 77
4 63
40 109
6 97
1 120
39 102
53 89
2 78
35 109
22 107
47 89
44 106
44 105
46 120...

output:

101
1 13 15 19 21 29 42 36 12 46 50 55 56 59 61 63 33 65 68 74 82 9 77 83 90 91 3 94 97 99 102 105 109 71 124 132 96 51 133 41 134 106 135 137 141 119 30 144 125 14 146 150 151 142 152 154 156 158 162 163 57 164 167 168 80 178 140 148 184 53 185 5 186 87 177 157 189 35 72 130 193 22 49 117 195 76 69...

result:

wrong output format Unexpected end of file - int32 expected