結果

問題 No.987 N×Mマス計算(基本)
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-04-14 23:30:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 171 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 447 ms
コンパイル使用メモリ 87,184 KB
実行使用メモリ 80,536 KB
最終ジャッジ日時 2023-08-26 00:02:54
合計ジャッジ時間 4,566 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,100 KB
testcase_01 AC 73 ms
71,224 KB
testcase_02 AC 135 ms
78,728 KB
testcase_03 AC 93 ms
76,916 KB
testcase_04 AC 118 ms
78,228 KB
testcase_05 AC 116 ms
78,336 KB
testcase_06 AC 127 ms
78,804 KB
testcase_07 AC 103 ms
77,932 KB
testcase_08 AC 77 ms
71,684 KB
testcase_09 AC 75 ms
71,572 KB
testcase_10 AC 77 ms
71,516 KB
testcase_11 AC 127 ms
78,824 KB
testcase_12 AC 140 ms
79,192 KB
testcase_13 AC 102 ms
77,776 KB
testcase_14 AC 74 ms
71,480 KB
testcase_15 AC 107 ms
78,072 KB
testcase_16 AC 160 ms
79,264 KB
testcase_17 AC 125 ms
78,588 KB
testcase_18 AC 142 ms
79,348 KB
testcase_19 AC 171 ms
80,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m = map(int,input().split())
L = list(input().split())
op = L[0]
B = L[1:]
for i in range(n):
    a = input()
    ans = [eval(a+op+b) for b in B]
    print(*ans)
0