結果
| 問題 |
No.3354 有理数の大小比較
|
| コンテスト | |
| ユーザー |
yu23578
|
| 提出日時 | 2025-09-15 19:41:29 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 287 bytes |
| コンパイル時間 | 1,487 ms |
| コンパイル使用メモリ | 193,964 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-11-14 20:58:40 |
| 合計ジャッジ時間 | 2,680 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 40 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
double A,B,C,D;
signed main(){
cin>>A>>B>>C>>D;
if(A / B == C / D){
cout << "=" << "\n";
}
else if(A/B < C/D){
cout << "<" << "\n";
}
else{
cout << ">" << "\n";
}
}
yu23578