結果

問題 No.365 ジェンガソート
ユーザー compass19
提出日時 2016-06-01 22:50:27
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 25,216 KB
最終ジャッジ日時 2024-10-08 05:11:33
合計ジャッジ時間 5,271 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10 WA * 6 TLE * 1 -- * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = list(map(int, input().split()))
result = 0
for i in range(N):
	a = len([x for x in range(i+1,N) if L[x] < L[i]])
	if a > result:
		result = a
print(result)
0