結果
問題 |
No.4 おもりと天秤
|
ユーザー |
![]() |
提出日時 | 2016-04-12 22:42:10 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 134 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-04 05:58:44 |
合計ジャッジ時間 | 1,450 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 WA * 4 |
ソースコード
n=input() w=sorted(map(int,raw_input().split()))[::-1] a=b=0 for i in w: if a<b: a+=i else: b+=i print["im",""][a==b]+"possible"