2782: 整数大小比较 摘要:```cpp #include using namespace std; int main() { int x,y; cin>>x>>y; if(x>y) …… 题解列表 2023年01月11日 0 点赞 0 评论 357 浏览 评分:9.9
优质题解,回归真神的初始途径 摘要:解题思路:a,b=map(int,input().split())if a>b: print(">")elif a==b: print("=")else: print("<")…… 题解列表 2024年07月23日 0 点赞 0 评论 241 浏览 评分:9.9
编写题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:x,y=map(int,input().split()) if x>y: print('>') elif x==y: print(…… 题解列表 2022年10月18日 0 点赞 0 评论 1032 浏览 评分:9.9
注意题干易错点 要求一个无符号数与有符号数进行比较 摘要:解题思路:C会自动进行有符号对无符号的转化,为避免比较大小时负数转化为无符号导致比较结果出错,不妨先对有符号进行正负判断。注意事项:尤其注意题干要求的无符号整数和有符号整数范围,此处有一个易错点,如果…… 题解列表 2023年05月25日 0 点赞 0 评论 586 浏览 评分:9.9
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月11日 0 点赞 0 评论 206 浏览 评分:9.9
题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 138 浏览 评分:9.9
整数大小的比较 摘要:解题思路:注意事项:输出的是字符注意引号的使用参考代码:x,y=map(int,input().split())if x > y: print('>') elif …… 题解列表 2023年11月05日 0 点赞 0 评论 234 浏览 评分:9.9
整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int x,y; scanf("%d %d",&…… 题解列表 2024年08月04日 0 点赞 1 评论 444 浏览 评分:10.0