QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#307103#2824. 找树txl16211WA 1852ms3968kbC++143.1kb2024-01-17 22:31:422024-01-17 22:31:43

詳細信息

Test #1:

score: 100
Accepted
time: 6ms
memory: 3928kb

input:

70 100
&&&&&&&&&&&&
59 1 577
11 18 513
41 11 6
7 33 1
25 26 577
3 57 516
28 5 3
13 56 0
2 32 7
66 53 517
42 31 519
41 34 70
37 54 579
24 15 512
70 32 512
51 49 64
55 19 69
3 31 517
24 8 582
44 45 513
47 58 517
47 41 577
33 22 519
57 41 0
70 50 67
3 6 6
14 43 6
21 1 579
32 27 576
62 7 514
39 36 69
12...

output:

-1

result:

ok single line: '-1'

Test #2:

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

input:

70 100
|&&&&|&&&^&&
70 50 200
51 46 9
48 33 163
14 64 137
53 54 96
32 24 160
7 22 8
40 66 192
12 22 74
20 25 66
7 40 97
27 13 192
3 15 96
43 16 195
23 6 74
7 34 33
5 5 98
12 26 99
44 38 8
27 44 32
10 67 42
19 12 234
6 39 65
27 24 8
58 13 106
37 69 32
4 2 163
33 65 168
3 3 107
56 65 8
42 53 137
32 53...

output:

-1

result:

ok single line: '-1'

Test #3:

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

input:

70 5000
^&&&&|^&^&&|
70 55 35
32 4 2338
1 45 33
69 4 2337
55 51 2338
26 46 2050
8 5 33
16 51 35
32 10 1
18 67 257
12 37 2307
34 6 2051
30 10 33
21 35 2082
4 27 34
12 4 2337
44 34 2082
11 17 2338
1 2 289
22 2 34
39 68 2304
11 48 289
44 26 2080
57 12 2306
69 15 2338
16 65 2
51 67 2048
1 5 291
64 48 28...

output:

2339

result:

ok single line: '2339'

Test #4:

score: -100
Wrong Answer
time: 1852ms
memory: 3864kb

input:

70 5000
&|^^^^||^&^&
44 16 0
53 69 0
27 35 1
54 69 1
25 16 15
12 58 45
66 33 2504
55 2 25
33 68 56
39 58 2
66 8 39
30 54 65
43 67 6
38 55 531
11 47 974
33 19 706
3 52 6
38 50 756
39 26 408
52 16 1086
26 3 110
65 28 37
63 30 1
18 44 117
30 4 778
38 42 23
65 48 203
70 42 14
24 39 390
30 17 3
64 62 29
...

output:

4095

result:

wrong answer 1st lines differ - expected: '3582', found: '4095'