結果

問題 No.2655 Increasing Strides
ユーザー paruki
提出日時 2024-03-02 21:13:29
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 41,080 KB
最終ジャッジ日時 2024-09-29 16:26:46
合計ジャッジ時間 3,600 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

Main(require("fs").readFileSync("/dev/stdin", "utf8"));

function Main(input) {
    const n = parseInt(input);
    const r = n % 8;
    if(r==7 || r==0) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}
0