結果
| 問題 | 
                            No.532 Possible or Impossible
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hiyokko2
                         | 
                    
| 提出日時 | 2017-06-23 23:19:11 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 438 bytes | 
| コンパイル時間 | 1,651 ms | 
| コンパイル使用メモリ | 157,184 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-03 03:37:12 | 
| 合計ジャッジ時間 | 1,997 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 16 WA * 7 | 
ソースコード
#include <bits/stdc++.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 (M != 0 && M != N - 1) {
        cout << "Possible" << endl;
    } else {
        cout << "Impossible" << endl;
    }
}
            
            
            
        
            
hiyokko2