結果
| 問題 | No.3542 Progression (Python) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-16 19:10:04 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 131 bytes |
| 記録 | |
| コンパイル時間 | 401 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 75,776 KB |
| スコア | 457 |
| 最終ジャッジ日時 | 2026-05-16 19:10:10 |
| 合計ジャッジ時間 | 5,788 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 29 |
ソースコード
*A,=map(int,open(0).read().split()) D=[1] for i in range(1,A[0]): D=D+[2] if A[i]-A[i-1]==A[i+1]-A[i]:D[-1]=D[-2]+1 print(max(D))