結果
| 問題 | No.3354 有理数の大小比較 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-14 21:22:36 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 330µs | |
| コード長 | 318 bytes |
| 記録 | |
| コンパイル時間 | 1,068 ms |
| コンパイル使用メモリ | 207,316 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-16 14:26:04 |
| 合計ジャッジ時間 | 2,824 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 40 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
ll a, b, c, d;
cin >> a >> b >> c >> d;
if(a * d == b * c){
cout << "=\n";
}else if(a * d > b * c){
cout << ">\n";
}else{
cout << "<\n";
}
}