結果

問題 No.1198 お菓子配り-1
ユーザー hamap000
提出日時 2020-08-28 21:36:37
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 310 bytes
コンパイル時間 1,494 ms
コンパイル使用メモリ 167,172 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-14 00:00:24
合計ジャッジ時間 2,338 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 12 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
typedef pair<int, int> P;
const int INF = 1e9;
int main() {
  ll N;
  cin >> N;
  if (N == 1 || N == 2 || N == 4 || N == 6) {
    cout << -1 << endl;
  } else {
    cout << 1 << endl;
  }
}
0