結果
問題 |
No.10 +か×か
|
ユーザー |
![]() |
提出日時 | 2024-03-12 16:00:51 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 352 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 851,344 KB |
最終ジャッジ日時 | 2024-09-29 22:20:55 |
合計ジャッジ時間 | 4,882 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 MLE * 1 -- * 8 |
ソースコード
n=int(input()) t=int(input()) a=map(int,input().split()) l=[(next(a),"")] for i in a:l=[m for j,k in l for m in[(j*i,k+"*"),(j+i,k+"+")]if m[0]<=t] r=" "*n for i,j in l: if i==t and r<j:r=j print(r)