結果
| 問題 | No.532 Possible or Impossible |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-14 01:30:22 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 7 ms / 2,000 ms |
| コード長 | 362 bytes |
| コンパイル時間 | 2,784 ms |
| コンパイル使用メモリ | 191,052 KB |
| 最終ジャッジ日時 | 2025-01-14 14:40:33 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i=0; i<(int)(n); i++)
bool check(int n, int m) {
if (n < 3) return m;
return true;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int n, m;
cin >> n >> m;
if (check(n, m))
cout << "Possible" << endl;
else
cout << "Impossible" << endl;
return 0;
}