結果
| 問題 | No.627 ランダムウォークの軌跡 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-16 22:27:59 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 228 ms |
| コンパイル使用メモリ | 84,916 KB |
| 実行使用メモリ | 53,772 KB |
| 最終ジャッジ日時 | 2026-03-18 17:52:02 |
| 合計ジャッジ時間 | 1,960 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
T = int(input())
now = 0
f = True
for i in range(T):
a = int(input())
if abs(a - now) == 1:
now = a
else:
f = False
print('T' if f else 'F')