Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
33093 | mimiguo | 选择题判定 | C++ | Wrong Answer | 0 MS | 252 KB | 407 | 2023-12-07 13:46:26 |
#include<iostream>; using namespace std; int main() { string a, b, c, d, e; int score=0; cin >> a >> b >> c >> d >> e; if (a == "D") { score = score + 30; } if (b == "C") { score = score + 30; } if (c == "B") { score = score + 30; } if (d == "A") { score = score + 30; } if (e == "D") { score = score + 30; } else cout << score; return 0; }