結果

問題 No.987 N×Mマス計算(基本)
ユーザー えいじえいじ
提出日時 2023-10-02 17:39:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 8,336 KB
最終ジャッジ日時 2023-10-02 17:39:17
合計ジャッジ時間 2,645 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,796 KB
testcase_01 AC 14 ms
7,904 KB
testcase_02 AC 58 ms
7,912 KB
testcase_03 AC 25 ms
7,848 KB
testcase_04 AC 47 ms
7,792 KB
testcase_05 AC 40 ms
7,976 KB
testcase_06 AC 54 ms
8,336 KB
testcase_07 AC 35 ms
7,820 KB
testcase_08 AC 17 ms
7,844 KB
testcase_09 AC 18 ms
7,844 KB
testcase_10 AC 18 ms
7,908 KB
testcase_11 AC 56 ms
7,812 KB
testcase_12 AC 62 ms
7,844 KB
testcase_13 AC 30 ms
7,796 KB
testcase_14 AC 16 ms
7,952 KB
testcase_15 AC 33 ms
7,776 KB
testcase_16 AC 70 ms
7,908 KB
testcase_17 AC 49 ms
7,844 KB
testcase_18 AC 68 ms
7,908 KB
testcase_19 AC 95 ms
7,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = [int(x) for x in input().split()]
w = input().split()
op = w.pop(0)
h = [input() for _ in range(n)]
for hh in h:
    a = []
    for ww in w:
        a.append(eval(hh + op + ww))
    print(*a)
0