結果
| 問題 | No.627 ランダムウォークの軌跡 | 
| コンテスト | |
| ユーザー |  cra77756176 | 
| 提出日時 | 2022-12-12 22:38:31 | 
| 言語 | Rust (1.83.0 + proconio) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 346 bytes | 
| コンパイル時間 | 13,943 ms | 
| コンパイル使用メモリ | 381,032 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-06 20:11:59 | 
| 合計ジャッジ時間 | 14,827 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 33 | 
ソースコード
fn main() {
    let mut xx = String::new();
    std::io::Read::read_to_string(&mut std::io::stdin(), &mut xx).ok();
    let xx: Vec<i64> = xx.split_whitespace().skip(1).flat_map(str::parse).collect();
    if xx[0].abs() == 1 && xx.windows(2).all(|x| (x[1] - x[0]).abs() == 1) {
        println!("T");
    } else {
        println!("F");
    }
}
            
            
            
        