题解 1267: A+B Problem

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

筛选

P1000 (C语言代码)

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

A+B的处理方式

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

简单,易懂

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

题解 1267: A+B Problem

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

题解 1267: A+B Problem

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

编写题解 1267: A+B Problem

摘要:import java.util.*;public class Main {    public static void main(String [] args){        Scanner sc……

题解:1267: A+B Problem

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

编写题解 1267: A+B Problem

摘要:解题思路:1、创建变量a,b2、输入变量3、输出a+b参考代码:#include<iostream> int main (){     int a,b;     cin>>a>>b;     ……

编写题解 1267: A+B Problem

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