結果
問題 |
No.627 ランダムウォークの軌跡
|
ユーザー |
![]() |
提出日時 | 2019-08-26 15:21:13 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-11-07 18:59:12 |
合計ジャッジ時間 | 2,840 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 WA * 2 |
ソースコード
import sys input = lambda: sys.stdin.readline()[:-1] flag=1 t=int(input()) pre=int(input()) for i in range(t-1): now=int(input()) if now==pre+1 or now==pre-1: pass else: flag=0 break pre=now print('T' if flag else 'F')