結果
問題 |
No.987 N×Mマス計算(基本)
|
ユーザー |
|
提出日時 | 2020-03-09 02:37:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 294 bytes |
コンパイル時間 | 134 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-11-07 20:27:29 |
合計ジャッジ時間 | 2,069 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 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) for i in lst_ans: print(" ".join(i))