結果
| 問題 | 
                            No.216 FAC
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-04-19 16:39:21 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 315 bytes | 
| コンパイル時間 | 197 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-10-05 17:26:16 | 
| 合計ジャッジ時間 | 2,012 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 16 WA * 8 | 
ソースコード
input()
point_list  = list(map(int,input().split()))
solved_list = list(map(int,input().split()))
myPoint=0
othersPoint=0
for p,s in zip(point_list,solved_list):
    if s == 0:
        myPoint = myPoint+p
    else:
        othersPoint = othersPoint+p
if myPoint>=othersPoint:
    print("YES")
else:
    print("NO")