結果

問題 No.2655 Increasing Strides
ユーザー hanage
提出日時 2024-03-01 21:27:10
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 304 bytes
コンパイル時間 2,064 ms
コンパイル使用メモリ 191,632 KB
最終ジャッジ日時 2025-02-19 22:18:41
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 26 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;

int main() {
  int N;
  cin >> N;
  if (N % 8 == 0 || N % 6 == 0) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
  return 0;
}

// 1 3 5 7 | 9 11 13 15
// 2 4 6 8 | 10 12 14 16
0