結果

問題 No.532 Possible or Impossible
ユーザー hiyokko2
提出日時 2017-06-23 23:24:28
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 528 bytes
コンパイル時間 1,229 ms
コンパイル使用メモリ 157,876 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-03 03:41:40
合計ジャッジ時間 3,091 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 2 RE * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <assert.h>
#define FOR(i,bg,ed) for(ll i=(bg);i<(ed);i++)
#define REP(i,n) FOR(i,0,n)
#define MOD 1000000007
//#define int long long
using namespace std;
typedef long long ll;
typedef vector<int> V;
typedef vector<V> VV;
const int INF = 1e9;

signed main()
{
    int N, M;
    
    cin >> N >> M;
    if (N % 2 == 1) {
        if (M != 0) {
            cout << "Possible" << endl;
        } else {
            cout << "Impossible" << endl;
        }
    } else {
        assert(false);
    }
}
0