結果

問題 No.632 穴埋め門松列
ユーザー kryu_______2740kryu_______2740
提出日時 2018-02-18 00:38:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 137 ms / 1,000 ms
コード長 235 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 10,716 KB
実行使用メモリ 29,708 KB
最終ジャッジ日時 2023-09-06 17:59:27
合計ジャッジ時間 1,936 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
29,708 KB
testcase_01 AC 111 ms
29,612 KB
testcase_02 AC 107 ms
29,564 KB
testcase_03 AC 106 ms
29,604 KB
testcase_04 AC 110 ms
29,608 KB
testcase_05 AC 106 ms
29,596 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0