简单的a+b C语言题解 摘要:解题思路:因为本题要求多组测试数据,所以我们要用while循环来写a+b,输入写在循环的条件里,然后在输出里写入公式就可以直接输出答案了。注意事项:1.注意,本题中在输入前必须写入~(取反),不然会输…… 题解列表 2024年04月29日 2 点赞 0 评论 281 浏览 评分:9.9
a+b简单写法 摘要:解题思路:用if限定范围不超过2^10,或者排除2^10之外的数,然后进行简单的加减注意事项:参考代码:#include<stdio.h>int main(){ int a,b; whil…… 题解列表 2024年11月05日 1 点赞 0 评论 605 浏览 评分:9.9
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) …… 题解列表 2024年12月01日 4 点赞 0 评论 719 浏览 评分:9.9
1000: [竞赛入门]简单的a+b题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) …… 题解列表 2024年12月01日 9 点赞 0 评论 1418 浏览 评分:10.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a, b; // 使用循环来处理多组测试数据 while (scanf("%d %…… 题解列表 2024年12月05日 14 点赞 1 评论 2632 浏览 评分:10.0