結果
| 問題 | No.3542 Progression (Python) |
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2026-05-16 18:48:37 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 124 bytes |
| 記録 | |
| コンパイル時間 | 1,189 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 65,280 KB |
| スコア | 0 |
| 最終ジャッジ日時 | 2026-05-16 18:48:51 |
| 合計ジャッジ時間 | 9,536 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 RE * 3 |
| other | AC * 3 RE * 26 |
ソースコード
d,e=input();a=list(map(int,input().split()));c=1 for x,y in zip(a,a[1:]):e=e+1 if e*(x-y==d)else 2;c=max(c,e);d=x-y print(c)
ID 21712