結果

問題 No.3335 ReCT
コンテスト
ユーザー 👑 tatyam
提出日時 2025-11-07 22:04:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 459 ms
コンパイル使用メモリ 82,384 KB
実行使用メモリ 54,368 KB
最終ジャッジ日時 2025-11-07 22:04:25
合計ジャッジ時間 14,970 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 18 WA * 79
権限があれば一括ダウンロードができます

ソースコード

diff #

H, W = map(int, input().split())

if H > W:
	H, W = W, H

C = H >= 4 or H == 3 and W % 2 == 0
T = H >= 4 or H == 3 and W >= 6
CT = H >= 3

print(int(C)-1)
print(int(T)-1)
print(int(CT)-1)
0