我又来写抽象题解了
2023-11-04 16:12:53
发布于:广东
#include <iostream>
#include <cstdio>
using namespace std;
int main(){
string x, y;
cin >> x >> y;
string a = x + y;
if(a == "-1-1" || a == "-10" || a == "-11" || a == "0-1" || a == "00" || a == "01" || a == "1-1" || a == "10" || a == "11") cout << "yes";
else cout << "no";
return 0;
}
这里空空如也
有帮助,赞一个