QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#384075#3704. Travelucup-team1383WA 3ms19204kbC++172.0kb2024-04-09 20:31:252024-04-09 20:31:25

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 17760kb

input:

3 2 1 3
1 2
2 3

output:

2

result:

ok 1 number(s): "2"

Test #2:

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

input:

3 2 2 3
1 2
2 3

output:

3

result:

ok 1 number(s): "3"

Test #3:

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

input:

2 0 1 1

output:

1

result:

ok 1 number(s): "1"

Test #4:

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

input:

2 0 1 1000000000

output:

1000000000

result:

ok 1 number(s): "1000000000"

Test #5:

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

input:

100 2000 348125329 153783443
72 45
79 6
13 64
27 3
22 13
1 76
33 87
72 41
41 30
10 3
43 46
12 40
40 86
38 34
92 96
16 70
11 95
26 78
54 43
50 49
55 82
18 67
49 58
85 41
34 94
57 13
40 44
34 49
95 77
30 74
77 2
90 76
51 98
5 78
5 43
8 96
66 43
74 23
47 25
7 28
77 86
96 4
99 53
80 88
13 29
9 44
51 44
...

output:

153783443

result:

ok 1 number(s): "153783443"

Test #6:

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

input:

100 2000 231241457 727332287
93 57
38 67
83 11
37 23
90 1
63 91
98 40
48 68
49 83
2 72
57 65
48 94
10 55
71 34
9 50
43 97
62 34
38 10
62 91
2 86
47 74
59 47
62 84
85 81
51 27
6 43
87 21
56 34
48 79
19 54
46 37
98 13
63 48
79 99
38 23
15 48
7 46
13 12
12 31
36 14
35 44
89 60
97 19
80 55
92 70
88 70
2...

output:

231241457

result:

ok 1 number(s): "231241457"

Test #7:

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

input:

100 2000 409324881 595848427
30 6
45 83
92 65
90 4
64 48
5 10
83 85
89 32
6 40
22 54
9 27
51 84
87 55
85 19
37 38
95 75
6 24
53 78
16 28
16 4
33 8
9 32
2 86
70 29
41 12
21 33
24 39
52 22
65 8
36 31
36 81
82 91
81 77
79 21
54 21
57 58
92 8
7 54
2 89
75 49
83 91
74 70
31 57
64 24
34 14
48 68
56 59
52 ...

output:

595848427

result:

ok 1 number(s): "595848427"

Test #8:

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

input:

100 2000 292441009 24173080
45 35
76 39
54 47
69 8
86 14
16 76
65 48
18 7
32 46
56 91
22 32
66 74
68 59
63 59
21 80
85 67
4 38
37 96
4 1
90 20
43 2
13 45
49 28
86 36
22 10
44 64
95 9
64 91
35 61
16 2
49 13
72 85
45 65
78 22
44 59
58 22
44 48
7 13
42 97
21 15
41 45
59 30
98 97
86 7
31 60
94 19
61 66
...

output:

48346160

result:

ok 1 number(s): "48346160"

Test #9:

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

input:

100 2000 470524433 892689220
70 58
96 74
71 6
16 36
53 5
46 6
63 98
99 2
13 90
79 45
99 47
74 31
80 60
21 15
72 25
51 4
89 85
26 86
15 98
70 35
1 10
37 92
67 48
13 57
91 76
21 81
89 77
50 45
61 69
72 28
40 31
35 97
33 25
41 63
80 36
94 12
48 44
14 93
33 46
50 66
39 50
73 18
35 49
17 59
65 55
40 51
6...

output:

470524433

result:

ok 1 number(s): "470524433"

Test #10:

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

input:

100 2000 108083131 124688303
54 97
16 42
65 15
41 90
15 29
19 36
50 62
55 58
20 9
81 89
60 90
29 54
9 27
69 70
72 88
78 14
13 78
44 91
29 62
19 49
5 44
71 29
66 39
32 37
80 75
75 92
1 37
78 32
67 68
25 51
98 11
29 90
21 60
32 82
64 72
12 72
99 15
4 56
58 23
39 76
28 90
7 100
1 87
39 19
20 6
27 55
85...

output:

124688303

result:

ok 1 number(s): "124688303"

Test #11:

score: -100
Wrong Answer
time: 3ms
memory: 19204kb

input:

100 2000 581133852 993204443
95 24
8 4
29 23
24 42
53 80
94 73
21 54
55 4
10 43
45 7
9 79
59 8
30 39
14 74
74 57
63 5
50 91
66 26
70 77
57 39
5 77
4 5
97 82
76 84
57 12
76 90
52 27
41 68
9 52
49 7
84 64
17 4
69 41
90 55
67 51
38 85
99 45
30 72
21 78
46 55
68 27
91 93
12 74
2 99
38 40
10 69
87 85
81 ...

output:

-6824067033709551616

result:

wrong answer 1st numbers differ - expected: '993204443', found: '-6824067033709551616'