結果

問題 No.1586 Equal Array
ユーザー lllllll88938494lllllll88938494
提出日時 2023-06-01 01:32:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 87,268 KB
実行使用メモリ 91,624 KB
最終ジャッジ日時 2023-08-28 01:47:26
合計ジャッジ時間 4,280 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,084 KB
testcase_01 AC 72 ms
71,256 KB
testcase_02 AC 78 ms
71,280 KB
testcase_03 AC 70 ms
71,260 KB
testcase_04 AC 92 ms
89,348 KB
testcase_05 WA -
testcase_06 AC 97 ms
91,224 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 72 ms
71,336 KB
testcase_12 AC 70 ms
71,296 KB
testcase_13 AC 97 ms
91,452 KB
testcase_14 AC 97 ms
91,200 KB
testcase_15 AC 98 ms
91,360 KB
testcase_16 AC 96 ms
91,372 KB
testcase_17 AC 71 ms
71,292 KB
testcase_18 AC 95 ms
91,216 KB
testcase_19 AC 96 ms
91,400 KB
testcase_20 AC 72 ms
71,316 KB
testcase_21 AC 72 ms
71,128 KB
testcase_22 AC 72 ms
71,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a = list(map(int,input().split()))
cnt = 0
for i in range(1,n):
	cnt += abs(a[0]-a[i])
	
if cnt%2:
	print('No')
else:
	print('Yes')
0