QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513276#1173. Knowledge Is...HuangHanShengWA 1ms5864kbC++11738b2024-08-10 17:23:362024-08-10 17:23:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3968kb

input:

7 5
9 10
7 9
3 4
9 10
2 6
8 9
5 8

output:

2 3 5 1 4 4 5 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

2 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

score: 0
Accepted
time: 1ms
memory: 5864kb

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

score: 0
Accepted
time: 1ms
memory: 3884kb

input:

500 258
1 3
3 5
2 4
3 5
4 5
4 5
1 4
1 2
3 5
2 5
2 5
4 5
4 5
4 5
2 3
1 4
1 4
1 4
4 5
4 5
2 3
4 5
3 5
3 5
1 5
1 4
2 5
1 5
3 5
3 4
4 5
2 3
3 5
3 5
4 5
2 3
1 5
1 5
2 3
2 3
3 4
3 5
3 4
1 3
1 2
1 5
4 5
2 3
2 4
1 3
4 5
4 5
4 5
1 3
3 5
4 5
3 5
1 5
1 2
1 2
3 5
3 5
4 5
3 4
3 5
2 3
2 5
2 4
2 5
3 5
2 3
1 5
4 5
...

output:

167 5 86 2 24 26 57 229 0 0 0 27 28 29 178 47 49 44 33 35 183 10 0 0 0 64 0 0 1 223 163 192 0 0 179 191 0 0 190 189 225 0 226 144 245 0 173 185 103 148 174 176 178 150 0 168 0 0 238 237 0 0 144 233 0 219 0 87 0 0 217 0 149 81 83 153 150 241 0 152 156 67 241 242 243 157 0 122 123 155 0 93 125 153 0 1...

result:

ok answer = 376

Test #6:

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

input:

500 242
8 9
9 10
2 9
8 10
9 10
6 10
4 8
4 5
2 6
7 10
3 8
1 8
1 6
5 9
7 8
8 10
8 9
8 10
2 9
2 3
6 8
3 10
5 9
1 3
6 8
4 10
9 10
8 9
8 10
1 9
3 9
3 7
2 3
6 10
3 6
6 10
3 4
3 6
9 10
5 7
8 10
6 10
5 6
5 7
7 8
1 3
4 7
9 10
4 9
2 4
8 9
1 3
8 10
3 4
9 10
4 9
5 10
8 9
1 3
1 5
8 10
3 4
8 9
3 9
3 6
3 10
6 7
7 ...

output:

126 106 38 0 109 0 108 236 163 0 104 95 153 62 163 0 140 1 40 233 204 0 55 228 184 0 123 159 0 33 44 143 237 0 175 0 242 176 26 210 0 0 217 207 178 227 227 17 53 213 138 225 0 241 115 50 0 133 223 185 0 217 130 42 173 0 195 171 35 29 166 0 49 0 149 107 205 103 135 45 164 166 31 109 111 0 126 84 0 47...

result:

wrong answer participant answer = 394, judge answer = 471