QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#44680#4287. Box and Arrow DiagramGuanYunchangWA 489ms12628kbC++111.5kb2022-08-21 08:26:102022-08-21 08:26:11

詳細信息

Test #1:

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

input:

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

output:

2
2
1
0

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 489ms
memory: 12628kb

input:

100 200000
54 60
71 12
62 88
84 30
30 11
3 9
10 26
95 81
78 66
31 31
94 79
50 14
72 80
52 8
80 55
59 74
5 96
2 49
78 53
95 6
98 60
69 23
1 98
9 84
54 35
28 89
24 80
51 25
41 23
8 24
66 60
63 31
43 44
37 12
55 77
56 69
88 72
2 16
9 22
10 53
16 42
48 48
17 100
90 28
82 55
43 25
94 11
76 88
90 34
57 54...

output:

2
2
1
0

result:

wrong answer 1st lines differ - expected: '2000', found: '2'