結果

問題 No.2599 Summer Project
ユーザー shobonvip
提出日時 2024-01-13 17:22:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 242 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 82,472 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-09-28 01:35:36
合計ジャッジ時間 914 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

w = input()
z = input()
a = "watermelon"
b = "beachball"
c = "shrinebell"
t = [a, b, c]
t.sort()
for i in range(3):
	g = []
	for j in range(3):
		if i == j: continue
		g.append(t[j])
	g.sort()
	x = [w, z]
	x.sort()
	if g == x:
		print(t[i])

0