結果
| 問題 |
No.532 Possible or Impossible
|
| コンテスト | |
| ユーザー |
tone_back
|
| 提出日時 | 2017-06-23 22:46:51 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 391 bytes |
| コンパイル時間 | 498 ms |
| コンパイル使用メモリ | 64,552 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-03 03:15:14 |
| 合計ジャッジ時間 | 1,257 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
#define _USE_MATH_DEFINES
#include<iostream>
#include <math.h>
#include <climits>
#include <algorithm>
#include <vector>
#include <queue>
#include <string>
using namespace std;
/* sample input
*/
int n, m;
int main()
{
cin >> n >> m;
if (m > 0){
cout << "Possible" << endl;
}
else{
if (n <= 2){
cout << "Impossible" << endl;
}
else{
cout << "Possible" << endl;
}
}
}
tone_back