結果

問題 No.989 N×Mマス計算(K以上)
ユーザー 👑 H20H20
提出日時 2021-07-15 11:01:35
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 359 bytes
コンパイル時間 1,659 ms
コンパイル使用メモリ 87,040 KB
実行使用メモリ 831,492 KB
最終ジャッジ日時 2023-09-17 16:20:14
合計ジャッジ時間 6,300 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 MLE -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M,K = map(int,input().split())
B = list(input().split())
OP = B[0]
B = list(map(int, B[1:]))
A = []
for _ in range(N):
    A.append(int(input()))
ANS = [[0]*M for _ in range(N)]
for i in range(N):
    for j in range(M):
        if OP=='+':
            ANS[i][j]=A[i]+B[j]
        else:
            ANS[i][j]=A[i]*B[j]
for i in range(N):
    print(*ANS[i])

0