結果

問題 No.138 化石のバージョン
ユーザー RadPeria
提出日時 2017-12-05 22:48:44
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 347 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 27,520 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-28 17:55:52
合計ジャッジ時間 1,226 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 29 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(){
        int A0,B0,C0;
        int A1,B1,C1;
        scanf("%d.%d.%d", &A0, &B0, &C0);
        scanf("%d.%d.%d", &A1, &B1, &C1);
        if((A0*10000000+B0*1000+C0)>(A1*10000000+B1*1000+C1)){
                printf("YES\n");
        }else{
                printf("NO\n");
        }
        return 0;
}
0