結果

問題 No.987 N×Mマス計算(基本)
ユーザー pypypymipypypymi
提出日時 2022-02-11 12:16:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 185 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 479 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 81,168 KB
最終ジャッジ日時 2023-09-09 13:22:07
合計ジャッジ時間 4,144 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,352 KB
testcase_01 AC 74 ms
71,444 KB
testcase_02 AC 138 ms
79,172 KB
testcase_03 AC 96 ms
76,892 KB
testcase_04 AC 123 ms
78,640 KB
testcase_05 AC 117 ms
78,492 KB
testcase_06 AC 133 ms
79,104 KB
testcase_07 AC 108 ms
77,960 KB
testcase_08 AC 80 ms
71,596 KB
testcase_09 AC 78 ms
71,680 KB
testcase_10 AC 79 ms
71,544 KB
testcase_11 AC 138 ms
79,012 KB
testcase_12 AC 146 ms
79,312 KB
testcase_13 AC 104 ms
77,956 KB
testcase_14 AC 77 ms
71,172 KB
testcase_15 AC 110 ms
77,924 KB
testcase_16 AC 154 ms
79,616 KB
testcase_17 AC 134 ms
78,740 KB
testcase_18 AC 154 ms
79,524 KB
testcase_19 AC 185 ms
81,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
bn = input().split()
ope = bn[0]
bn = bn[1:]
an = [input() for i in range(n)]
for i in range(n):
    result = []
    for j in range(k):
        result.append(str(eval(an[i]+ope+bn[j])))
    print(*result)
        
0