Codeforces Round #596 ABC题解

A 题 思路:只要判断三种状况,a等于b或者a+1等于b或者a等于9且b等于1时,不然输出-1;ios include<bits/stdc++.h> using namespace std; typedef long long ll; const int mx=10; int main() { int n,m; cin>>n>>m; if(n==m)
相关文章
相关标签/搜索