結果
| 問題 | 
                            No.4 おもりと天秤
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2017-06-04 01:20:31 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 224 bytes | 
| コンパイル時間 | 127 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-09-22 04:40:23 | 
| 合計ジャッジ時間 | 1,638 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 13 WA * 10 | 
ソースコード
n=input()
a=list(map(int,input().split()))
leftexist=sum(a)/2
a.sort()
flg=0
s=0
for n in a:
        s+=n
        if leftexist==s:
                flg=1
if flg==1:
        print("possible")
else:
        print("impossible")