結果

問題 No.632 穴埋め門松列
ユーザー miya145592miya145592
提出日時 2023-05-03 02:13:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 131 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 82,036 KB
実行使用メモリ 52,832 KB
最終ジャッジ日時 2024-05-01 09:07:48
合計ジャッジ時間 1,080 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,208 KB
testcase_01 AC 32 ms
52,184 KB
testcase_02 AC 31 ms
52,576 KB
testcase_03 AC 32 ms
52,072 KB
testcase_04 AC 33 ms
52,832 KB
testcase_05 AC 31 ms
52,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

C = input().split()
idx = C.index("?")
if idx==1:
    print(14)
else:
    if C[1]=="2":
        print(4)
    else:
        print(1)
0