結果
問題 |
No.627 ランダムウォークの軌跡
|
ユーザー |
![]() |
提出日時 | 2018-01-10 10:40:34 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 267 bytes |
コンパイル時間 | 183 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-23 15:30:17 |
合計ジャッジ時間 | 2,266 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 WA * 1 |
ソースコード
t = int(input()) l = [] for i in range(t): l.append(abs(int(input()))) def f(t, l): if l[0] == 0: return "F" for i in range(t-1): diff = abs(l[i] - l[i+1]) if diff == 1: continue else: return "F" return "T" print(f(t, l))