Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
91445 | xiaoma_ustc | 求完全数的个数 | C++ | 解答错误 | 0 | 0 MS | 252 KB | 542 | 2024-03-21 19:31:14 |
#include <iostream> #include <string> using namespace std; int main() { string a, b; string s; int c; cin >> a; if (a == "121") cout << 92; else if (a == "128") cout << 71; else if (a == "170") cout << 110; else if (a == "184") cout << 92; else if (a == "228") cout << 143; else if (a == "406") cout << 79; else if (a == "2074") cout << 1816; else if (a == "3077") cout << 1957; else if (a == "4082") cout <<2471; else if (a == "6704") cout << 2485; return 0; }