2782普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if (n<m) printf("<"); if …… 题解列表 2024年11月23日 0 点赞 0 评论 195 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int x,y; scanf("%d %d",&…… 题解列表 2024年08月04日 0 点赞 1 评论 444 浏览 评分:10.0
整数大小比较 摘要:参考代码:#include<stdio.h> int main() { int x,y; scanf("%d %d",&x,&y); if(x>y){ …… 题解列表 2023年11月29日 0 点赞 0 评论 78 浏览 评分:0.0
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d %d", &x, &y); if(x>y) pri…… 题解列表 2023年11月12日 0 点赞 0 评论 119 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项: = 是赋值,==是等于。参考代码:、#include<stdio.h>int main(){ int a,b; scanf("%d %d…… 题解列表 2023年10月08日 0 点赞 0 评论 112 浏览 评分:0.0
题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; int ret; do{ ret = scanf("%d %…… 题解列表 2023年08月17日 0 点赞 0 评论 134 浏览 评分:0.0
比较数的大小 摘要:解题思路:注意事项:数据的范围参考代码:#include <stdio.h>int main(){ unsigned a; int b; scanf("%u %d",&a,&b); …… 题解列表 2023年07月13日 0 点赞 0 评论 117 浏览 评分:0.0
注意题干易错点 要求一个无符号数与有符号数进行比较 摘要:解题思路:C会自动进行有符号对无符号的转化,为避免比较大小时负数转化为无符号导致比较结果出错,不妨先对有符号进行正负判断。注意事项:尤其注意题干要求的无符号整数和有符号整数范围,此处有一个易错点,如果…… 题解列表 2023年05月25日 0 点赞 0 评论 585 浏览 评分:9.9
编写题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a>b){ …… 题解列表 2023年03月24日 0 点赞 0 评论 122 浏览 评分:0.0
逻辑表达式与条件分支--5.整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a>b){ …… 题解列表 2023年03月24日 0 点赞 0 评论 105 浏览 评分:0.0