結果
| 問題 | No.987 N×Mマス計算(基本) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-03-09 02:35:50 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 289 bytes |
| 記録 | |
| コンパイル時間 | 358 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-05-08 04:00:57 |
| 合計ジャッジ時間 | 3,850 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 18 |
ソースコード
n,m=map(int,input().split())
l=list(input().split())
k=list((input()) for _ in range(n))
enzan=l[0]
ll=list(map(str,l[1:]))
lst_ans=[]
for i in k:
lst_temp=[]
for j in ll:
lst_temp.append(eval(i+enzan+j))
lst_ans.append(lst_temp)
print(" ".join(i) for i in lst_ans)