oj mrJudge
Toggle navigation
  • Login
    • Forget Password
      Login
User Image

Hello, Stranger

Guest
  • Analysis Mode
  • Problems
    • All Problems
    • Latest Problems
  • Join Us Now
  • Registration
  • Contact Us
  • Infomation
  • About
    • Terms of Use
    • Technical Specifications
    • Credits

maximum Batch , stdin/stdout

Registered Users Only

Please login to utilize this feature.

Do note that this website only supports submissions in C++.

maximum.html

Problem Description

Input 2 numbers, and output the maximum of the two numbers.

Input

The input will consists of 2 integers, a and b, one on each line.

Output

Output either a or b, whichever has the largest value.

Sample Input

5
3

Sample Output

5

Tags

Syntax

Subtasks and Limits

Subtask Score #TC Time Memory Scoring
110041s32MBAverage
2011s32MBAverage

Judge Compile Command

g++-8 ans.cpp -o maximum -Wall -Wshadow -static -O2 -lm -m64 -s -w -std=gnu++17 -fmax-errors=512

Accepted Submissions

subIDUserTimeMax Time

Past Submissions

subIDUserTimeScore
mrJudge 09.05.20
Copyright © 2020 mrJudge. All rights reserved.