zoukankan      html  css  js  c++  java
  • Winter-1-A A + B 解题报告及测试数据

    Time Limit:1000MS 

    Memory Limit:32768KB

    Description

    Calculate A + B.

    Input

    Each line will contain two integers A and B. Process to end of file.

    Output

    For each case, output A + B in one line.

    Sample Input

    1 1 

    Sample Output

    ​2

    以下是代码:

    #include <cstdio>
    using namespace std;
    int main(){
        int a,b;
        while(scanf("%d%d",&a,&b)!=EOF)
            printf("%d
    ",a+b);
        return 0;
    }
     
  • 相关阅读:
    LuoguP1126 机器人搬重物(BFS)
    POJ1950----DFS
    C
    B
    A
    C
    B
    A
    A
    B
  • 原文地址:https://www.cnblogs.com/gzdaijie/p/4298080.html
Copyright © 2011-2022 走看看