結果
| 問題 |
No.627 ランダムウォークの軌跡
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-05-13 22:09:04 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 306 bytes |
| コンパイル時間 | 144 ms |
| コンパイル使用メモリ | 29,184 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-08 08:30:46 |
| 合計ジャッジ時間 | 993 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 WA * 20 |
ソースコード
#include <stdio.h>
#include<stdlib.h>
int main(){
int data[101],i,N;
scanf("%d",&N);
for(i=0;i<N;i++){
scanf("%d",&data[i]);
}
for(i=0;i<N;i++){
if(abs(data[i]-data[i+1]) != 1){
printf("F");
return 0;
}
}
printf("T");
}