1 条题解

  • 0
    @ 2025-4-12 21:33:54

    C++ :

    #include <iostream>
    using namespace std;
    int main(){
        int a,b;
        while(cin >> a >> b)
            cout << a+b << endl;
    	return 0;
    }
    

    Pascal :

    var
    a,b:integer; 
    begin
    Read(a,b);
    write(a+b);
    end.
    
    
    • 1

    信息

    ID
    788
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者