QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505486#5855. Magickaxiaowuc125 ✓2ms3632kbC++171.9kb2024-08-05 05:40:522024-08-05 05:40:53

详细

Subtask #1:

score: 10
Accepted

Test #1:

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

input:

100
0 0 2 EA
1 QRI 0 4 RRQR
1 QFT 1 QF 7 FAQFDFQ
1 EEZ 1 QE 7 QEEEERA
0 1 QW 2 QW
1 WAG 1 WE 10 SFFRRFAWDS
1 WWT 1 QR 10 SWFREEEFWW
1 QQU 1 WD 10 WSRSRQEEQQ
1 FRH 1 QE 10 RFSSRRFRDE
1 WRM 1 AR 10 QSFWRWQRSS
1 QSY 1 QR 10 SQRQFSRSEW
1 FDH 1 AF 10 SSADFDSDDW
1 FWI 1 QF 10 WFDEQQAAWS
1 ESP 0 7 DRESSES
...

output:

Case #1: [E, A]
Case #2: [R, I, R]
Case #3: [F, D, T]
Case #4: [Z, E, R, A]
Case #5: []
Case #6: [S, F, F, R, R, F, G, D, S]
Case #7: [S, W, F, R, E, E, E, F, T]
Case #8: [W, S, R, S, R, Q, E, E, U]
Case #9: [H, S, S, R, H, R, D, E]
Case #10: [Q, S, F, M, W, Q, R, S, S]
Case #11: [F, S, R, S, E, W]
...

result:

ok 100 lines

Subtask #2:

score: 15
Accepted

Test #2:

score: 15
Accepted
time: 2ms
memory: 3632kb

input:

100
0 0 2 EA
1 QRI 0 4 RRQR
1 QFT 1 QF 7 FAQFDFQ
1 EEZ 1 QE 7 QEEEERA
0 1 QW 2 QW
12 DFC FRG QQI DSH DAK FSM QSO WQN WAP EWU SST DDY 13 AD ES FE QR FD ER RF WF AR EQ RW WD SA 80 FSRDSQSQQFASFSWFREFRSQSWQSSDAQQQQQSSRSRSEWFRWAEWQQSDAQDSSWWQWSSDDDDFFRSDDFSEDFFR
16 REC RQB SQG EWI FFH SRM ASL ESO AFN AD...

output:

Case #1: [E, A]
Case #2: [R, I, R]
Case #3: [F, D, T]
Case #4: [Z, E, R, A]
Case #5: []
Case #6: [C, G]
Case #7: [A]
Case #8: [P, K, H, M, B, I, Z, N, C]
Case #9: [L, Y, Z, P, T, H, P, M, K, C, J, A, M, R]
Case #10: [Q, I, L, Q, P, O, O, B, U, X, B, T, O, T, A, O, O, A, C, U]
Case #11: [A, H]
Case #...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed