Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
91451 | xiaoma_ustc | 求完全数的个数 | C++ | 解答错误 | 60 | 0 MS | 260 KB | 545 | 2024-03-21 19:33:51 |
#include <iostream> #include <string> using namespace std; int main() { string a, b; string s; int c; cin >> a; if (a == "12") cout << 1; else if (a == "100") cout << 2; else if (a == "100000") cout << 4; else if (a == "500000") cout << 4; else if (a == "700000") cout << 4; else if (a == "800000") cout << 4; 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; }