結果

問題 No.632 穴埋め門松列
ユーザー K-TwigK-Twig
提出日時 2018-02-11 02:15:38
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 185 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-04-24 14:28:56
合計ジャッジ時間 529 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 10 ms
6,144 KB
testcase_02 AC 9 ms
6,144 KB
testcase_03 AC 9 ms
6,144 KB
testcase_04 AC 10 ms
6,272 KB
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A = list(raw_input().split())
target = A.index('?')
if target == 0 or target == 2:
    if A[1] == 2:
        target = 4
    else:
        target = 1
else:
    target = 14
print(target)
0