結果
| 問題 | No.627 ランダムウォークの軌跡 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-08-26 03:55:31 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 345 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 15,392 KB |
| 最終ジャッジ日時 | 2026-03-15 15:53:54 |
| 合計ジャッジ時間 | 4,439 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
p = 0
c = 0
N = int(input())
for i in range(N):
x = int(input())
if abs(p - x) == 1:
p = x
c += 1
print('T') if c == N else print('F')