1 solutions

  • 0
    @ 2025-11-5 19:38:57

    C :

    #include "stdio.h"
    int main(){
    long long a,b,s;
    scanf("%lld%lld",&a,&b);
    s=a+b;
    printf("%lld\n",s);
    return 0;}
    

    C++ :

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

    Pascal :

    program xx;
    var a,b,c:int64;
    begin
      read(a,b);
    c:=a+b;
    writeln(c);
    end.
    
    • 1

    Information

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