結果
問題 |
No.138 化石のバージョン
|
ユーザー |
|
提出日時 | 2017-08-09 02:38:54 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 350 bytes |
コンパイル時間 | 88 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-12 00:27:59 |
合計ジャッジ時間 | 2,161 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 33 |
ソースコード
# print('YES' if int(''.join(input().split('.'))) >= int(''.join(input().split('.'))) else 'NO') old = list(map(int,input().split('.'))) old[0] *= 100 old[1] *= 100 old = int(''.join(map(str,old))) num = list(map(int,input().split('.'))) num[0] *= 100 num[1] *= 100 num = int(''.join(map(str,num))) print(old,num) print('YES' if old >= num else 'NO')