結果
| 問題 |
No.3354 有理数の大小比較
|
| コンテスト | |
| ユーザー |
yu23578
|
| 提出日時 | 2025-09-15 19:55:21 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| コンパイル時間 | 1,568 ms |
| コンパイル使用メモリ | 193,708 KB |
| 実行使用メモリ | 7,852 KB |
| 最終ジャッジ日時 | 2025-11-14 20:58:43 |
| 合計ジャッジ時間 | 2,776 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 WA * 14 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
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