結果
問題 |
No.2812 Plus Minus Blackboard
|
ユーザー |
|
提出日時 | 2024-07-19 21:23:00 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 82,852 KB |
実行使用メモリ | 104,804 KB |
最終ジャッジ日時 | 2025-04-08 23:40:52 |
合計ジャッジ時間 | 3,014 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 WA * 6 |
ソースコード
n = int(input()) A = list(map(int, input().split())) A.sort() tot = sum(A) for a in A: if a * (tot - a) <= 0: print("Yes") exit() print("No")