結果
| 問題 | No.632 穴埋め門松列 | 
| コンテスト | |
| ユーザー |  kryu_______2740 | 
| 提出日時 | 2018-02-18 00:31:26 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 530 ms / 1,000 ms | 
| コード長 | 235 bytes | 
| コンパイル時間 | 283 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 44,324 KB | 
| 最終ジャッジ日時 | 2024-06-24 12:24:30 | 
| 合計ジャッジ時間 | 4,527 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 6 | 
ソースコード
import numpy as np
a = input()
a = a.split(" ")
a = np.array(a)
question = np.where(a=="?")[0]
two = np.where(a=="2")[0]
three = np.where(a=="3")[0]
if(question==1):
    print(14)
if(two==1):
    print(4)
if(three==1):
    print(1)
            
            
            
        