結果

問題 No.942 プレゼント配り
ユーザー risujiroh
提出日時 2019-12-05 00:14:26
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 259 bytes
コンパイル時間 1,808 ms
コンパイル使用メモリ 164,676 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-14 16:26:11
合計ジャッジ時間 6,757 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1 RE * 1
other WA * 2 RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int n, k;
  cin >> n >> k;
  if (k & 1) {
    assert(false);
  } else {
    if (n % (2 * k)) {
      assert(false);
    }
  }
  cout << "No\n";
}
0