結果

問題 No.138 化石のバージョン
ユーザー yaoshimax
提出日時 2015-04-30 17:02:16
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 186 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-07-05 17:11:55
合計ジャッジ時間 1,521 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C=map(int,raw_input().split("."))
a,b,c=map(int,raw_input().split("."))
if a>A:
    print"NO"
    exit()
if b>B:
    print"NO"
    exit()
if c>C:
    print"NO"
    exit()
print"YES"
0