結果
| 問題 |
No.632 穴埋め門松列
|
| コンテスト | |
| ユーザー |
kryu_______2740
|
| 提出日時 | 2018-02-18 00:38:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 513 ms / 1,000 ms |
| コード長 | 235 bytes |
| コンパイル時間 | 150 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 44,448 KB |
| 最終ジャッジ日時 | 2024-06-24 12:24:45 |
| 合計ジャッジ時間 | 4,140 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
kryu_______2740