結果

問題 No.2812 Plus Minus Blackboard
ユーザー hirayuu_ychirayuu_yc
提出日時 2024-07-13 11:51:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 452 ms
コンパイル使用メモリ 82,052 KB
実行使用メモリ 102,784 KB
最終ジャッジ日時 2024-07-21 20:25:50
合計ジャッジ時間 2,429 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,968 KB
testcase_01 AC 36 ms
51,712 KB
testcase_02 AC 36 ms
51,840 KB
testcase_03 AC 80 ms
102,784 KB
testcase_04 AC 63 ms
84,736 KB
testcase_05 AC 84 ms
101,504 KB
testcase_06 AC 44 ms
65,792 KB
testcase_07 AC 43 ms
64,384 KB
testcase_08 AC 43 ms
62,848 KB
testcase_09 AC 70 ms
93,568 KB
testcase_10 AC 42 ms
62,592 KB
testcase_11 AC 61 ms
82,432 KB
testcase_12 AC 56 ms
77,056 KB
testcase_13 AC 80 ms
102,656 KB
testcase_14 AC 48 ms
68,864 KB
testcase_15 AC 42 ms
61,696 KB
testcase_16 AC 77 ms
97,408 KB
testcase_17 AC 48 ms
69,888 KB
testcase_18 AC 45 ms
65,920 KB
testcase_19 AC 69 ms
89,216 KB
testcase_20 AC 40 ms
61,696 KB
testcase_21 AC 78 ms
102,400 KB
testcase_22 AC 75 ms
97,152 KB
testcase_23 AC 34 ms
51,328 KB
testcase_24 AC 34 ms
51,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
print("Yes" if min(A)<=sum(A)<=max(A) else "No")
0