結果
| 問題 | No.627 ランダムウォークの軌跡 |
| コンテスト | |
| ユーザー |
Subaru314
|
| 提出日時 | 2021-02-21 00:43:37 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 171 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 21,284 KB |
| 実行使用メモリ | 15,996 KB |
| 最終ジャッジ日時 | 2026-08-30 14:00:32 |
| 合計ジャッジ時間 | 5,123 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 WA * 2 |
ソースコード
n = int(input())
l = [int(input()) for i in range(n)]
L = [abs(l[j]-l[j+1]) for j in range(n-1)]
s = list(set(L))
if s == [1] or s == []:
print('T')
else:
print('F')
Subaru314