結果

問題 No.138 化石のバージョン
ユーザー ninoinui
提出日時 2020-01-18 19:28:19
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 212 bytes
コンパイル時間 1,484 ms
コンパイル使用メモリ 166,144 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-28 01:31:13
合計ジャッジ時間 2,606 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
  string A, B;
  cin >> A >> B;
  cout << ((A.at(0) * 100 + A.at(2) * 10 + A.at(4) >= B.at(0) * 100 + B.at(2) * 10 + B.at(4)) ? "YES" : "NO") << "\n";
}
0