結果
| 問題 | No.2812 Plus Minus Blackboard |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-19 21:23:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 162 bytes |
| 記録 | |
| コンパイル時間 | 247 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 114,036 KB |
| 最終ジャッジ日時 | 2026-07-08 13:51:48 |
| 合計ジャッジ時間 | 4,689 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 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")