結果
| 問題 |
No.2648 [Cherry 6th Tune D] 一次元の馬
|
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-11-20 16:00:06 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 465 bytes |
| コンパイル時間 | 403 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 26,192 KB |
| 最終ジャッジ日時 | 2025-11-20 16:00:14 |
| 合計ジャッジ時間 | 7,663 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 37 |
ソースコード
x= int(input())
for _ in range(x):
n = int(input())
l = list(map(int,input().split()))
count = 0
flag= True
while flag:
flag = True
for i in range(n-1):
if l[i] >= l[i+1]:
flag = False
break
if flag == True:
break
if flag == False:
count += 1
for i in range(n):
l[i] += i+1
flag = True
print(count)
vjudge1