QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#688944#5436. DRX vs. T1ucup-team1329#AC ✓15ms10544kbPython3137b2024-10-30 14:25:522024-10-30 14:25:53

Judging History

你现在查看的是最新测评结果

  • [2024-10-30 14:25:53]
  • 评测
  • 测评结果:AC
  • 用时:15ms
  • 内存:10544kb
  • [2024-10-30 14:25:52]
  • 提交

answer

from collections import Counter

s = input()

counter = Counter(s)

if counter['T'] >= 3:
    print('T1')
else:
    print('DRX')

詳細信息

Test #1:

score: 100
Accepted
time: 9ms
memory: 10332kb

input:

TDTT?

output:

T1

result:

ok single line: 'T1'

Test #2:

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

input:

DTDD?

output:

DRX

result:

ok single line: 'DRX'

Test #3:

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

input:

DDD??

output:

DRX

result:

ok single line: 'DRX'

Test #4:

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

input:

DDTD?

output:

DRX

result:

ok single line: 'DRX'

Test #5:

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

input:

DDTTD

output:

DRX

result:

ok single line: 'DRX'

Test #6:

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

input:

DDTTT

output:

T1

result:

ok single line: 'T1'

Test #7:

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

input:

DTDTD

output:

DRX

result:

ok single line: 'DRX'

Test #8:

score: 0
Accepted
time: 11ms
memory: 10392kb

input:

DTDTT

output:

T1

result:

ok single line: 'T1'

Test #9:

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

input:

DTTDD

output:

DRX

result:

ok single line: 'DRX'

Test #10:

score: 0
Accepted
time: 12ms
memory: 10444kb

input:

DTTDT

output:

T1

result:

ok single line: 'T1'

Test #11:

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

input:

DTTT?

output:

T1

result:

ok single line: 'T1'

Test #12:

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

input:

TDDD?

output:

DRX

result:

ok single line: 'DRX'

Test #13:

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

input:

TDDTD

output:

DRX

result:

ok single line: 'DRX'

Test #14:

score: 0
Accepted
time: 11ms
memory: 10388kb

input:

TDDTT

output:

T1

result:

ok single line: 'T1'

Test #15:

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

input:

TDTDD

output:

DRX

result:

ok single line: 'DRX'

Test #16:

score: 0
Accepted
time: 5ms
memory: 10420kb

input:

TDTDT

output:

T1

result:

ok single line: 'T1'

Test #17:

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

input:

TTDDD

output:

DRX

result:

ok single line: 'DRX'

Test #18:

score: 0
Accepted
time: 12ms
memory: 10504kb

input:

TTDDT

output:

T1

result:

ok single line: 'T1'

Test #19:

score: 0
Accepted
time: 11ms
memory: 10504kb

input:

TTDT?

output:

T1

result:

ok single line: 'T1'

Test #20:

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

input:

TTT??

output:

T1

result:

ok single line: 'T1'