結果

問題 No.2812 Plus Minus Blackboard
ユーザー hirayuu_ychirayuu_yc
提出日時 2024-07-05 23:43:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 107 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 82,600 KB
実行使用メモリ 102,912 KB
最終ジャッジ日時 2024-07-21 20:25:45
合計ジャッジ時間 2,766 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,712 KB
testcase_01 AC 39 ms
51,584 KB
testcase_02 AC 38 ms
52,096 KB
testcase_03 AC 91 ms
102,912 KB
testcase_04 AC 70 ms
84,864 KB
testcase_05 AC 85 ms
101,504 KB
testcase_06 AC 49 ms
65,664 KB
testcase_07 AC 48 ms
64,128 KB
testcase_08 AC 45 ms
63,104 KB
testcase_09 AC 78 ms
94,080 KB
testcase_10 AC 47 ms
62,464 KB
testcase_11 AC 66 ms
82,816 KB
testcase_12 AC 61 ms
76,928 KB
testcase_13 AC 86 ms
102,784 KB
testcase_14 AC 53 ms
68,864 KB
testcase_15 AC 46 ms
62,208 KB
testcase_16 AC 82 ms
97,536 KB
testcase_17 AC 55 ms
69,888 KB
testcase_18 AC 51 ms
65,664 KB
testcase_19 AC 74 ms
89,856 KB
testcase_20 AC 45 ms
61,568 KB
testcase_21 AC 86 ms
102,528 KB
testcase_22 AC 81 ms
97,664 KB
testcase_23 AC 39 ms
51,840 KB
testcase_24 AC 38 ms
51,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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