結果
問題 | No.987 N×Mマス計算(基本) |
ユーザー |
![]() |
提出日時 | 2021-09-01 14:32:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 64,768 KB |
最終ジャッジ日時 | 2024-11-27 17:21:44 |
合計ジャッジ時間 | 2,343 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
n,m = map(int,input().split()) B = list(map(str,input().split())) op = B[0] B.remove(op) for i in range(n): A = int(input()) for j in B: if op == "+": print(A+int(j),end=" ") else: print(A*int(j),end=" ") print("")