結果
| 問題 | No.4 おもりと天秤 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-30 12:17:53 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 172 bytes |
| 記録 | |
| コンパイル時間 | 326 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 21,628 KB |
| 最終ジャッジ日時 | 2026-04-23 17:24:00 |
| 合計ジャッジ時間 | 7,525 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 20 |
ソースコード
import itertools as it n=int(input()) l=list(map(int,input().split()))+[0]*n w=sum(l)/2 a="impossible" for x in it.combinations(l,n): if sum(x)==w: a=a[2:]; break print(a)