結果
問題 |
No.627 ランダムウォークの軌跡
|
ユーザー |
![]() |
提出日時 | 2018-02-19 08:23:14 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 586 ms |
コンパイル使用メモリ | 65,068 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-06 12:08:21 |
合計ジャッジ時間 | 1,555 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 WA * 24 |
ソースコード
#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; return 0; } } cout << 'T' << endl; return 0; }