結果

問題 No.138 化石のバージョン
ユーザー 双六双六
提出日時 2020-07-22 15:16:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 5,000 ms
コード長 574 bytes
コンパイル時間 445 ms
コンパイル使用メモリ 87,248 KB
実行使用メモリ 71,900 KB
最終ジャッジ日時 2023-09-02 14:11:36
合計ジャッジ時間 5,288 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
71,808 KB
testcase_01 AC 92 ms
71,816 KB
testcase_02 AC 93 ms
71,812 KB
testcase_03 AC 94 ms
71,568 KB
testcase_04 AC 92 ms
71,776 KB
testcase_05 AC 94 ms
71,768 KB
testcase_06 AC 91 ms
71,744 KB
testcase_07 AC 94 ms
71,688 KB
testcase_08 AC 94 ms
71,812 KB
testcase_09 AC 94 ms
71,524 KB
testcase_10 AC 96 ms
71,704 KB
testcase_11 AC 95 ms
71,768 KB
testcase_12 AC 92 ms
71,524 KB
testcase_13 AC 90 ms
71,696 KB
testcase_14 AC 89 ms
71,764 KB
testcase_15 AC 89 ms
71,292 KB
testcase_16 AC 91 ms
71,704 KB
testcase_17 AC 91 ms
71,524 KB
testcase_18 AC 90 ms
71,752 KB
testcase_19 AC 93 ms
71,472 KB
testcase_20 AC 98 ms
71,448 KB
testcase_21 AC 94 ms
71,472 KB
testcase_22 AC 95 ms
71,776 KB
testcase_23 AC 95 ms
71,572 KB
testcase_24 AC 98 ms
71,548 KB
testcase_25 AC 91 ms
71,288 KB
testcase_26 AC 91 ms
71,900 KB
testcase_27 AC 94 ms
71,696 KB
testcase_28 AC 94 ms
71,556 KB
testcase_29 AC 92 ms
71,436 KB
testcase_30 AC 91 ms
71,764 KB
testcase_31 AC 90 ms
71,704 KB
testcase_32 AC 89 ms
71,720 KB
testcase_33 AC 92 ms
71,444 KB
testcase_34 AC 92 ms
71,680 KB
testcase_35 AC 93 ms
71,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys; input = sys.stdin.buffer.readline
# sys.setrecursionlimit(10**7)
from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")

def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	A0, B0, C0 = list(map(int, list(input().split("."))))
	A1, B1, C1 = list(map(int, list(input().split("."))))
	if A0 > A1:
		print("YES")
	elif A0 < A1:
		print("NO")
	else:
		if B0 > B1:
			print("YES")
		elif B0 < B1:
			print("NO")
		else:
			if C0 >= C1:
				print("YES")
			else:
				print("NO")



if __name__ == '__main__':
	main()
0