結果
| 問題 | No.1122 Plane Tickets |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-22 23:28:54 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 241 bytes |
| 記録 | |
| コンパイル時間 | 874 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 175,948 KB |
| 最終ジャッジ日時 | 2026-03-07 11:59:21 |
| 合計ジャッジ時間 | 119,213 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 2 |
| other | TLE * 55 |
ソースコード
from scipy.optimize import linprog u,v,w,x,y=map(int,input().split()) d=(0,None) print(int(-linprog([-1,-1,-1,-1,-1],[[1,0,0,1,1],[1,1,0,0,1],[1,1,1,0,0],[0,1,1,1,0],[0,0,1,1,1]],[u,v,w,x,y],bounds=(d,d,d,d,d),method='simplex').fun + 0.001))