結果

問題 No.138 化石のバージョン
ユーザー githide3
提出日時 2018-08-10 19:50:22
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 26,880 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-23 05:53:10
合計ジャッジ時間 1,283 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include    <stdio.h>

int main(void)
{
    int A0, B0, C0;
    int A1, B1, C1;

    scanf("%d.%d.%d", &A0, &B0, &C0);
    scanf("%d.%d.%d", &A1, &B1, &C1);

    if ((A0 < A1) || (B0 < B1) || (C0 < C1)) {
        printf("NO\n");
    } else {
        printf("YES\n");
    }

    return 0;
}
0