結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
JunOnuma
|
| 提出日時 | 2017-06-13 13:04:24 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 5,000 ms |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 277 ms |
| コンパイル使用メモリ | 77,464 KB |
| 最終ジャッジ日時 | 2025-12-04 00:05:01 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 33 |
ソースコード
a = map(int, raw_input().split('.'))
b = map(int, raw_input().split('.'))
old = True
for i,j in zip(a,b):
if i > j:
break
if i < j:
old = False
break
if old:
print 'YES'
else:
print 'NO'
JunOnuma