提交时间:2024-04-25 21:48:05
运行 ID: 46099
#include<bits/stdc++.h> using namespace std; int main() { char a[5]={'D','C','B','A','D'}; string b; cin>>b; int sum=150; for(int i=0;i<5;i++){ if(b[i]!=a[i]) sum-=30; } cout<<sum; return 0; }