結果

問題 No.632 穴埋め門松列
ユーザー moko_freedom
提出日時 2018-03-17 10:44:04
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-23 17:25:38
合計ジャッジ時間 955 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
	a,b,c=input().split()
	if a=='?':
		if int(b)<int(c):
			print(4)
		else:
			print(1)
	elif b=='?':
		print(1)
	else:
		if int(a)>int(b):
			print(4)
		else:
			print(1)

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