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

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

筛选

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

摘要:解题思路:注意事项:其实直接提交就好,源代码就是1000的题解参考代码:#include<iostream>using namespace std;int main(){    int a,b;   ……

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

摘要:解题思路:利用scanf函数进行输入值,同时使用while语句循环,来达到多次计算。注意事项:注意scanf中&符号。参考代码:while scanf printf#include<stdio.h>v……

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

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

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

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

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

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

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

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){    while(cin>>a>……

note an easy problem2

摘要:哈哈哈#includeint main(){    int strcpy_my(int n, char c[], int m);    int n, m;    char a[100];    sca……

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

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