結果
| 問題 | No.216 FAC |
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-08-14 14:46:11 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| 記録 | |
| コンパイル時間 | 338 ms |
| コンパイル使用メモリ | 77,632 KB |
| 最終ジャッジ日時 | 2025-12-03 16:11:56 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 9 |
ソースコード
N = int(raw_input()) score = map(int,raw_input().split()) solve = map(int,raw_input().split()) scoreSum = sum(score) scoreMod = sum([score[i] for i in range(N) if solve[i] == 0]) if scoreMod >= scoreSum / 2: print "YES" else: print "NO"
tookunn_1213