QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#55468#4758. Captivating processwlxhkk#WA 4ms26040kbC++143.7kb2022-10-13 21:49:192022-10-13 21:49:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 25052kb

input:

3 2
2 3 1
2 3 1
1 2
1 1

output:

No
Yes

result:

ok 2 token(s): yes count is 1, no count is 1

Test #2:

score: 0
Accepted
time: 3ms
memory: 24592kb

input:

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

output:

No
Yes

result:

ok 2 token(s): yes count is 1, no count is 1

Test #3:

score: 0
Accepted
time: 2ms
memory: 24028kb

input:

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

output:

No
No
Yes
No
Yes
No
Yes
No
No
No

result:

ok 10 token(s): yes count is 3, no count is 7

Test #4:

score: -100
Wrong Answer
time: 4ms
memory: 26040kb

input:

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

output:

No
No
Yes
Yes
No
Yes
Yes
No
No
Yes

result:

wrong answer expected NO, found YES [4th token]