結果

問題 No.632 穴埋め門松列
ユーザー otsuneko
提出日時 2021-05-07 17:31:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 1,000 ms
コード長 230 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 81,912 KB
実行使用メモリ 52,756 KB
最終ジャッジ日時 2024-09-15 05:53:03
合計ジャッジ時間 1,000 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

C = list(map(str,input().split()))

if C[0] == "?":
    if C[1] == "2":
        print(4)
    else:
        print(1)
elif C[1] == "?":
    print(14)
else:
    if C[1] == "2":
        print(4)
    else:
        print(1)
0