結果

問題 No.2655 Increasing Strides
ユーザー hanage
提出日時 2024-03-01 21:31:47
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 300 bytes
コンパイル時間 2,086 ms
コンパイル使用メモリ 192,080 KB
最終ジャッジ日時 2025-02-19 22:22:59
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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 % 4 == 0 && N >= 8) {
    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