'commit'
This commit is contained in:
15
TangDou/LanQiaoBei/LanQiao11ShengSai/620LCcb4.cpp
Normal file
15
TangDou/LanQiaoBei/LanQiao11ShengSai/620LCcb4.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
string ans = "DCBAD";
|
||||
int s = 0;
|
||||
string c;
|
||||
cin >> c;
|
||||
for (int i = 0; i < 5; i++)
|
||||
if (c[i] == ans[i]) s += 30;
|
||||
|
||||
cout << s << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user