QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#763273#9741. CCPCUESTC_NLNS#WA 9ms10456kbPython374b2024-11-19 19:18:372024-11-19 19:18:39

Judging History

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

  • [2024-11-19 19:18:39]
  • 评测
  • 测评结果:WA
  • 用时:9ms
  • 内存:10456kb
  • [2024-11-19 19:18:37]
  • 提交

answer

a = input()
m1 = a.count('C')//3
m2 = a.count('P')//3
print(min(m1,m2))

详细

Test #1:

score: 0
Wrong Answer
time: 9ms
memory: 10456kb

input:

ABCDCPCPC

output:

0

result:

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