結果
問題 |
No.914 Omiyage
|
ユーザー |
![]() |
提出日時 | 2019-10-28 23:50:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
MLE
|
実行時間 | - |
コード長 | 222 bytes |
コンパイル時間 | 106 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 820,992 KB |
最終ジャッジ日時 | 2024-09-14 21:21:45 |
合計ジャッジ時間 | 4,145 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | MLE * 1 -- * 17 |
ソースコード
from itertools import product n,m,k=tuple(map(int,input().split())) l=[] a=0 for i in range(n): l.append(tuple(map(int,input().split()))) for i in tuple(product(*l)): t=sum(i) if a<=t<=k: a=t print(k-a)