結果

問題 No.2655 Increasing Strides
ユーザー atcoder8
提出日時 2024-03-01 22:02:34
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 11,179 ms
コンパイル使用メモリ 389,152 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-09-29 13:54:00
合計ジャッジ時間 12,396 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let n = {
        let mut line = String::new();
        std::io::stdin().read_line(&mut line).unwrap();
        line.trim().parse::<usize>().unwrap()
    };

    let ans = n % 8 == 0 || n % 8 == 7;
    println!("{}", if ans { "Yes" } else { "No" });
}
0