結果

問題 No.138 化石のバージョン
ユーザー commy
提出日時 2017-10-09 20:39:03
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 449 bytes
コンパイル時間 637 ms
コンパイル使用メモリ 73,816 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-29 14:34:06
合計ジャッジ時間 1,871 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <tuple>

#define REP(i, a, b) for (int i = int(a); i < int(b); i++)

using namespace std;

typedef long long int lli;

int main() {
    char dummy;
    int a, b, c;
    cin >> a >> dummy >> b >> dummy >> c;
    auto t1 = make_tuple(a, b, c);
    cin >> a >> dummy >> b >> dummy >> c;
    auto t2 = make_tuple(a, b, c);
    cout << (t1 >= t2 ? "YES" : "NO") << endl;
    return 0;
}
0