题解 1267: A+B Problem

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

筛选

c++解题思路

摘要:解题思路:注意事项:参考代码:#include<iosteream>using namespace std;int main(){   int a,b;   cin >>a;   cin >>b;  ……

P1000......21888545

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

题解 1267: A+B Problem

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b;    cin>>a>>b;    cout<……

A+B的处理方式

摘要:解题思路:先考虑自然数的输入 —— input(),再考虑把input()所输入的数据最前端和最后变的多余空格进行删除处理 —— strip(),处理之后接着再按每个数据之间的空格进行分割、同时转换成……

简单,易懂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int x,y,sum;    scanf ("%d %d",&x,&y);    sum=x+y;   ……

P1000 (C语言代码)

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

P1000-题解(C++代码)

摘要:这个 就是 a+b咯 读入a+b 然后输出a+b ```cpp #include using namespace std; int main() { long lo……

P1000 (C语言代码)

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

P1000 (C语言代码)

摘要:解题思路:注意事项:参考代码:/*输入两个自然数,输出他们的和  */#include <stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); print……