游客 Signup | Login
中文 | En

3969 - 判断两数大小

输入两个数,判断他们的大小

Input

4 5

Output

4<5

Examples

Input

6 7

Output

6<7

Solution C++

#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
    int x,y;
    cin>>x>>y;
    if(x>y)
    {
        cout<<x<<">"<<y<<endl;
    }
    else if (x==y)
    {
        cout<<x<<"="<<y<<endl;
    }
    else
    {
        cout<<x<<"<"<<y<<endl;
    }
    return 0;
}
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题