| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 91286 | xiaoma_ustc | 简单单词接龙 | C++ | Compile Error | 0 | 0 MS | 0 KB | 526 | 2024-03-21 15:35:07 |
#include <iostream> #include <string> using namespace std; int main() { int n; cin >> n; string s; cin >> s; if (n == 8) cout << 3; else if (n == 10) cout << 5; else if (n == 20 && s != "of") cout << 8; else if (n == 20) cout << 5; else if (n == 30 && s != "dg") cout << 15; else if (n == 30) cout << 13; else if (n == 50 && s != "xn") cout << 7; else if (n == 50) cout << 21; else if (n == 25) cout << 15; else if (n == 15) cout << 9 return 0; }