c++,整数比较的三种办法 摘要:方法1 (最简单)if-else语句#include <iostream>using namespace std;int main() { int a, b; cin >…… 题解列表 2025年10月26日 0 点赞 0 评论 30 浏览 评分:0.0
C++简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(void){ long&nb…… 题解列表 2025年03月04日 0 点赞 0 评论 323 浏览 评分:0.0
2782普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if (n<m) printf("<"); if …… 题解列表 2024年11月23日 0 点赞 0 评论 494 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int x,y; scanf("%d %d",&…… 题解列表 2024年08月04日 0 点赞 1 评论 642 浏览 评分:10.0
优质题解,回归真神的初始途径 摘要:解题思路:a,b=map(int,input().split())if a>b: print(">")elif a==b: print("=")else: print("<")…… 题解列表 2024年07月23日 0 点赞 0 评论 630 浏览 评分:9.9
题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 297 浏览 评分:9.9
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int x,y; cin >> x >>y ; i…… 题解列表 2023年12月17日 0 点赞 0 评论 238 浏览 评分:0.0
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月11日 0 点赞 0 评论 338 浏览 评分:9.9
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月11日 0 点赞 0 评论 420 浏览 评分:9.9
题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>b…… 题解列表 2023年12月10日 0 点赞 0 评论 247 浏览 评分:0.0