結果
| 問題 | No.987 N×Mマス計算(基本) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-02-27 12:53:28 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 235 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 13,568 KB |
| 最終ジャッジ日時 | 2026-09-15 20:01:47 |
| 合計ジャッジ時間 | 2,296 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 18 |
ソースコード
from operator import add, mul
n, _ = map(int, input().split())
opb = input().split()
op = add if opb[0] == "+" else mul
b = [int(i) for i in opb[1:]]
for _ in range(n):
a = int(input())
print(*[op(int(input()), i) for i in b])