結果

問題 No.632 穴埋め門松列
ユーザー otsunekootsuneko
提出日時 2021-05-07 17:31:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 230 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-10-13 08:43:50
合計ジャッジ時間 1,396 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,384 KB
testcase_01 AC 68 ms
71,180 KB
testcase_02 AC 69 ms
71,504 KB
testcase_03 AC 69 ms
71,388 KB
testcase_04 AC 72 ms
71,484 KB
testcase_05 AC 69 ms
71,112 KB
権限があれば一括ダウンロードができます

ソースコード

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