結果
| 問題 | No.532 Possible or Impossible |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-14 01:30:22 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 362 bytes |
| 記録 | |
| コンパイル時間 | 1,161 ms |
| コンパイル使用メモリ | 209,488 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-13 18:36:37 |
| 合計ジャッジ時間 | 2,408 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}