QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#76604#1979. GratitudeZhangYiDeTL 25ms8500kbPython3286b2023-02-10 21:54:192023-02-10 21:54:20

详细

Test #1:

score: 100
Accepted
time: 17ms
memory: 8424kb

input:

1 1
C
B
A

output:

A

result:

ok single line: 'A'

Test #2:

score: 0
Accepted
time: 10ms
memory: 8500kb

input:

1 2
C
B
A

output:

A
B

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 17ms
memory: 8448kb

input:

1 3
C
B
A

output:

A
B
C

result:

ok 3 lines

Test #4:

score: 0
Accepted
time: 18ms
memory: 8464kb

input:

3 1
C
B
A
A
B
C
A
B
C

output:

C

result:

ok single line: 'C'

Test #5:

score: 0
Accepted
time: 6ms
memory: 8416kb

input:

3 3
C
B
A
A
B
C
A
B
C

output:

C
B
A

result:

ok 3 lines

Test #6:

score: 0
Accepted
time: 25ms
memory: 8468kb

input:

3 8
C
B
A
A
B
C
A
B
C

output:

C
B
A

result:

ok 3 lines

Test #7:

score: 0
Accepted
time: 19ms
memory: 8424kb

input:

2 3
q
w
e
r
t
y

output:

y
t
r

result:

ok 3 lines

Test #8:

score: 0
Accepted
time: 7ms
memory: 8460kb

input:

2 6
q
w
e
r
t
y

output:

y
t
r
e
w
q

result:

ok 6 lines

Test #9:

score: 0
Accepted
time: 19ms
memory: 8468kb

input:

3 2
A
B
C
B
C
D
C
D
E

output:

C
D

result:

ok 2 lines

Test #10:

score: 0
Accepted
time: 15ms
memory: 8448kb

input:

3 3
A
B
C
B
C
D
C
D
E

output:

C
D
B

result:

ok 3 lines

Test #11:

score: 0
Accepted
time: 17ms
memory: 8484kb

input:

3 5
A
B
C
B
C
D
C
D
E

output:

C
D
B
E
A

result:

ok 5 lines

Test #12:

score: 0
Accepted
time: 14ms
memory: 8460kb

input:

3 9
A
B
C
B
C
D
C
D
E

output:

C
D
B
E
A

result:

ok 5 lines

Test #13:

score: -100
Time Limit Exceeded

input:

33333 99999
21336
54674
65180
6629
63120
30823
92163
80025
50174
67734
879
35964
53935
12142
17604
60250
43015
30063
51541
40979
35454
6328
58642
78108
19028
78847
22766
73250
38610
89274
33675
12046
13983
75354
11269
75620
50011
49208
37912
54086
57755
22472
81134
44117
68226
40713
61097
56983
6639...

output:


result: