1 solutions

  • 0
    @ 2025-11-5 15:41:13

    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

    Information

    ID
    17045
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By