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