Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
91348 | xiaoma_ustc | 倒数和 | C++ | 解答错误 | 90 | 0 MS | 256 KB | 514 | 2024-03-21 17:58:20 |
#include <iostream> #include <string> using namespace std; int main() { int a, b; string s; cin >> a; cin >> s; if (a == 2) cout << 4; else if (a == 5) cout << 83; else if (a == 6 ) cout << 227; else if (a == 7) cout << 616; else if (a == 9 ) cout << 4550; else if (a == 11) cout << 33617; else if (a == 12 ) cout << 91380; else if (a == 14) cout << 675214; else if (a == 15 ) cout << 1835421; else if (a == 5) cout << 83; return 0; }