1 solutions

  • 0
    @ 2025-11-5 15:15:56

    C :

    #include<stdio.h>
    int main()
    {
    	int a,b;
    	scanf("%d%d",&a,&b);
    	printf("%d\n",a+b);
    } 
    

    C++ :

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

    Pascal :

    var a,b:longint;
    begin
      readln(a,b);
      writeln(a+b);
    end.
    
    • 1

    Information

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