私信TA
用户名:927937414
访问量:28318
签 名:
还是好好学习吧
自我简介:
还没学算法的弱鸡
作者: QvQ 发表时间:2018-06-21 19:01:57 浏览:753 | 评论:2
#include <bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m>>n; if(m==n) cout<<"0"<<endl; else if(m==0&&n==1||m==2&&n==0||m==1&&n==2) cout<<"-1"<<endl; else cout<<"1"<<endl; return 0; }
0.0分
3 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
代码纠错
SQL生成与解释
枚举呢?
大哥,不使用枚举?