結果
問題 |
No.627 ランダムウォークの軌跡
|
ユーザー |
|
提出日時 | 2022-02-16 22:27:59 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 170 bytes |
コンパイル時間 | 228 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-06-29 07:19:46 |
合計ジャッジ時間 | 2,792 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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')