結果
問題 |
No.216 FAC
|
ユーザー |
|
提出日時 | 2020-04-19 16:45:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 349 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-05 17:44:13 |
合計ジャッジ時間 | 1,588 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 RE * 11 |
ソースコード
input() point_list = list(map(int,input().split())) solved_list = list(map(int,input().split())) myPoint=0 othersPoint=[0 for x in range(100)] for p,s in zip(point_list,solved_list): if s == 0: myPoint = myPoint+p else: othersPoint[s] = othersPoint[s]+p if myPoint>=max(othersPoint): print("YES") else: print("NO")