結果
| 問題 | 
                            No.532 Possible or Impossible
                             | 
                    
| コンテスト | |
| ユーザー | 
                             teketeke5000
                         | 
                    
| 提出日時 | 2017-08-19 20:00:46 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 246 bytes | 
| コンパイル時間 | 1,091 ms | 
| コンパイル使用メモリ | 157,272 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-14 15:51:48 | 
| 合計ジャッジ時間 | 1,789 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 21 WA * 2 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:17: warning: ‘N’ is used uninitialized [-Wuninitialized]
    8 |     cout << ((N <= 2 && M == 0) ? "Possible" : "Impossible") << endl;
      |               ~~^~~~
main.cpp:8:27: warning: ‘M’ is used uninitialized [-Wuninitialized]
    8 |     cout << ((N <= 2 && M == 0) ? "Possible" : "Impossible") << endl;
      |                         ~~^~~~
            
            ソースコード
#include <bits/stdc++.h>
#define REP(i, a, n) for(ll i = ((ll) a); i < ((ll) n); i++)
using namespace std;
typedef long long ll;
int main(void) {
    int N,M;
    cout << ((N <= 2 && M == 0) ? "Possible" : "Impossible") << endl;
    return 0;
}
            
            
            
        
            
teketeke5000