結果

問題 No.632 穴埋め門松列
ユーザー Lo_OT
提出日時 2018-06-28 18:48:59
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 167 bytes
コンパイル時間 127 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-06-30 23:31:40
合計ジャッジ時間 751 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
a, b, c = map(str, input().split())

if a == '?' or c == '?':
    if b == '2':
        print(4)
    else:
        print(1)
        
else:
    print(14)
0