結果
問題 |
No.627 ランダムウォークの軌跡
|
ユーザー |
![]() |
提出日時 | 2018-02-19 08:21:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 252 bytes |
コンパイル時間 | 526 ms |
コンパイル使用メモリ | 64,388 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-06 12:05:12 |
合計ジャッジ時間 | 1,419 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 32 |
ソースコード
#include <iostream> using namespace std; int main(){ int t; cin >> t; int x[t]; for(int i=0; i<t; i++){ cin >> x[i]; } for(int i=0; i<t-1; i++){ if(x[i+1]-x[i]!=1){ cout << 'F' << endl; break; } } cout << 'T' << endl; return 0; }