1 solutions

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

    C++ :

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

    Pascal :

    uses math;
    var
    a,b:integer;
    begin
    read(a,b);
    write(max(a,b));
    end.
    
    • 1

    Information

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