結果

問題 No.1734 Decreasing Elements
ユーザー ああああ
提出日時 2024-01-23 10:53:28
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 158 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 81,572 KB
実行使用メモリ 263,908 KB
最終ジャッジ日時 2024-01-23 10:53:36
合計ジャッジ時間 7,677 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
60,264 KB
testcase_01 AC 38 ms
53,460 KB
testcase_02 AC 37 ms
53,460 KB
testcase_03 AC 35 ms
53,460 KB
testcase_04 AC 36 ms
53,460 KB
testcase_05 AC 37 ms
53,460 KB
testcase_06 AC 37 ms
53,460 KB
testcase_07 AC 46 ms
61,596 KB
testcase_08 AC 48 ms
62,244 KB
testcase_09 AC 43 ms
61,464 KB
testcase_10 AC 50 ms
64,316 KB
testcase_11 AC 125 ms
116,268 KB
testcase_12 AC 90 ms
91,424 KB
testcase_13 AC 131 ms
117,172 KB
testcase_14 AC 268 ms
224,644 KB
testcase_15 AC 197 ms
154,228 KB
testcase_16 AC 268 ms
173,040 KB
testcase_17 AC 390 ms
213,616 KB
testcase_18 AC 415 ms
213,616 KB
testcase_19 TLE -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
権限があれば一括ダウンロードができます

ソースコード

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