编写题解 1000: [竞赛入门]简单的a+b 摘要:#include<stdio.h> /* 关于~的作用解析: 1、在Windows下,用户按下CTRL+Z(会看到一个^Z字符),会停止输入流,scanf会返回-1。 2、-1的补码为11…… 题解列表 2023年03月24日 0 点赞 0 评论 425 浏览 评分:9.9
A+B c语言题解 摘要:解题思路:注意事项:难点在于退出循环,具体可以去搜“~”的用法,这虽然不是最优解,可以把它当成一种变式参考代码:#include<stdio.h>int main(void){ int a=0,b=0…… 题解列表 2023年03月23日 0 点赞 0 评论 388 浏览 评分:0.0
LikeWater - 1000: [竞赛入门]简单的a+b(很难相信这道题的正确率居然只有51%!!) 摘要:#这道题的特点是不用写,直接点提交就行了,因为已经帮你写好了。 ```cpp #include using namespace std; int main() { int a,b;…… 题解列表 2023年03月12日 0 点赞 0 评论 518 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:解题思路:这道题目的重点是scanf函数。函数名: scanf 功 能: 执行格式化输入 用 法: int scanf(char *format[,argument,...]);scanf()函数是通…… 题解列表 2023年02月25日 0 点赞 0 评论 361 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: break…… 题解列表 2023年02月11日 1 点赞 0 评论 1767 浏览 评分:6.0
1000: [竞赛入门]简单的a+b 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout<<(a+b)<<e…… 题解列表 2023年02月09日 0 点赞 0 评论 423 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 标题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月07日 0 点赞 0 评论 363 浏览 评分:9.9
1000:简单的a+b 摘要:参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月04日 0 点赞 0 评论 390 浏览 评分:0.0
简单的a+b 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int a,b; cin>>a>>b; int c=a+b; cou…… 题解列表 2023年02月04日 0 点赞 0 评论 339 浏览 评分:0.0
直接提交,不用任何操作 摘要:当你点开这个题目,你就可以提交了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。…… 题解列表 2023年01月09日 1 点赞 0 评论 514 浏览 评分:9.9