結果

問題 No.1734 Decreasing Elements
ユーザー ああ
提出日時 2024-01-23 10:53:28
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 158 bytes
コンパイル時間 317 ms
コンパイル使用メモリ 82,512 KB
実行使用メモリ 265,852 KB
最終ジャッジ日時 2024-09-28 06:40:13
合計ジャッジ時間 7,743 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16 TLE * 1 -- * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
z=0
for i in range(n) :
	if a[i] == 0 :
		z+=1
	else:
		a=[aj-a[i] if aj>=a[i] else aj for aj in a]
print(n-z)
0