Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
91456 xiaoma_ustc 最大和与最小和 C++ 解答错误 0 0 MS 248 KB 561 2024-03-21 19:37:55

Tests(0/10):


#include <iostream> #include <string> using namespace std; int main() { string a, b; string s; int c; cin >> a; cin >> b; 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 == "900000") cout << 4; else if (a == "1000000") cout << 4; else if (a == "2000000") cout <<4; else if (a == "100000000") cout << 5; return 0; }


测评信息: