結果
問題 |
No.138 化石のバージョン
|
ユーザー |
![]() |
提出日時 | 2020-11-02 23:44:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 358 bytes |
コンパイル時間 | 1,611 ms |
コンパイル使用メモリ | 166,824 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-22 08:22:37 |
合計ジャッジ時間 | 2,477 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 WA * 3 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int a0, b0, c0, a1, b1, c1; char d1, d2, d3, d4; cin >> a0 >> d1 >> b0 >> d2 >> c0; cin >> a1 >> d3 >> b1 >> d4 >> c1; if ((a0 * 100 + b0 * 10 + c0) >= (a1 * 100 + b1 * 10 + c1)) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }