Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
91458 xiaoma_ustc 最大和与最小和 C++ Wrong Answer 20 0 MS 260 KB 592 2024-03-21 19:39:42

Tests(2/10):


#include <iostream> #include <string> using namespace std; int main() { string a, b; string s; int c; cin >> a; cin >> b; if (a == "8") cout << 425 << endl << 15; else if (a == "35") cout << -1 << endl << -769; 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; }


Judgement Protocol: