結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
JunOnuma
|
| 提出日時 | 2017-06-13 13:04:24 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 5,000 ms |
| + 651µs | |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 76 ms |
| コンパイル使用メモリ | 80,384 KB |
| 実行使用メモリ | 81,152 KB |
| 最終ジャッジ日時 | 2026-07-18 14:29:56 |
| 合計ジャッジ時間 | 3,831 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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