結果

問題 No.532 Possible or Impossible
ユーザー Ronlynes
提出日時 2017-06-23 23:17:07
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 539 ms
コンパイル使用メモリ 58,816 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-03 03:36:11
合計ジャッジ時間 1,234 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <queue>
#include <string>

using namespace std;

int main(void){
    long long n, m;
    cin >> n >> m;
    if( ( n == 1 && m == 0 ) || (n == 2  &&  m != 2) ){
        cout << "Impossible" << endl;
    }else{
        cout << "Possible" << endl;
    }
    return 0;
}
0