結果
| 問題 | No.4 おもりと天秤 |
| コンテスト | |
| ユーザー |
konsin_tokage
|
| 提出日時 | 2018-05-04 18:04:26 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 237 ms |
| コンパイル使用メモリ | 96,368 KB |
| 実行使用メモリ | 1,342,644 KB |
| 最終ジャッジ日時 | 2026-07-31 13:27:31 |
| 合計ジャッジ時間 | 5,652 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 MLE * 2 -- * 16 |
ソースコード
input()
*w,=map(int, input().split())
m=sum(w)/2
d=[0]
d.extend(j+i for i in w for j in d[::] if j+i<=m)
print('im'*(m not in d)+'possible')
konsin_tokage