5 条题解
- 1
信息
- ID
- 635
- 时间
- 1000ms
- 内存
- 16MiB
- 难度
- 2
- 标签
- 递交数
- 147
- 已通过
- 94
- 上传者
#include<bits/stdc++.h>
using namespace std;
int main()
{
int c;
cin >> c;
if(c > 0)
{
cout << c << ">" << 0;
}
else if(c < 0)
{
cout << c << "<" << 0;
}
else
{
cout << "0=0";
}
return 0;
}//A
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
if (n > 0)
cout << n << ">" << 0;
else if (n < 0)
cout << n << "<" << 0;
else
cout << n << "=" << 0;
return 0;
}
#include <iostream>//hetao3097453
using namespace std;
int main()
{
int x;
cin >> x;
if(x > 0)
{
cout << x << ">0" << endl;
}
else if(x < 0)
{
cout << x << "<0" << endl;
}
else
{
cout << "0=0" << endl;
}
return 0;
}