結果
| 問題 | No.627 ランダムウォークの軌跡 | 
| コンテスト | |
| ユーザー |  deepjuggling | 
| 提出日時 | 2023-03-01 22:47:58 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 43 ms / 2,000 ms | 
| コード長 | 163 bytes | 
| コンパイル時間 | 344 ms | 
| コンパイル使用メモリ | 81,920 KB | 
| 実行使用メモリ | 52,096 KB | 
| 最終ジャッジ日時 | 2024-09-16 19:53:31 | 
| 合計ジャッジ時間 | 2,977 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 33 | 
ソースコード
n = int(input())
x = 0
for i in range(n):
    a = int(input())
    if a + 1 == x or a-1 == x:
        x = a
    else:
        print("F")
        exit()
print("T")
            
            
            
        