1 solutions

  • 0
    @ 2025-11-5 19:59: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
      readln(a,b);
      writeln(a+b);
      readln;
    end.
    
    • 1

    Information

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