题解 1000: [竞赛入门]简单的a+b

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

简单的a+b 题解

摘要:解题思路:hj注意事项:a参考代码:#include<stdio.h>int main(){    int a,b;    while(~scanf("%d%d", &a, &b))printf("%……

[竞赛入门]简单的a+b

摘要:解题思路:注意事项:注意符号和细节的东西参考代码#include<stdio.h>int main(){    int a=0,b=0;    while(~scanf("%d%d", &a, &b)……

简单的a+b(c++代码)

摘要:解题思路:注意事项:参考代码:解法一:#include <cstdio> int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF)//也可以写成whil……

[竞赛入门]简单的a+b

摘要:解题思路:注意事项:参考代码:while True:    a,b = map(int,input().split())    if a > 2**10 or b > 2**10:        br……

简单的a+b (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){   int a,b,add;   printf("请输入两个数:/n");   scanf("%d %d",&a……

输出a+b - python

摘要:解题思路:首先input输入两个int型整数,然后求和打印出来注意事项:while可以一直循环参考代码:while True:     a,b = map(int,input().split()) ……

有事找出家人

摘要:解题思路:原题链接:[竞赛入门]简单的a+b[编码入门]简单的a+b题解(C语言代码)代码中使用到“!=EOF”,EOF是一个计算机术语,为“End Of File”的缩写,是文件结尾标志;“!=EO……