結果
問題 |
No.627 ランダムウォークの軌跡
|
ユーザー |
![]() |
提出日時 | 2020-04-10 21:57:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 232 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-15 20:17:13 |
合計ジャッジ時間 | 2,329 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 22 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() t=int(input()) cur=0 chk=True for _ in range(t): x=int(input()) if abs(x-cur)==1: continue else: chk=False cur=x print("T" if chk else "F")