結果
問題 | No.532 Possible or Impossible |
ユーザー |
![]() |
提出日時 | 2018-09-09 06:20:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 381 bytes |
コンパイル時間 | 2,109 ms |
コンパイル使用メモリ | 165,024 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-23 02:41:19 |
合計ジャッジ時間 | 2,777 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <bits/stdc++.h> using namespace std; using int64 = long long; using uint64 = unsigned long long; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int N, M; cin >> N >> M; if ((N == 1 and M == 0) or (N == 2 and M == 0)) { cout << "Impossible" << endl; return 0; } cout << "Possible" << endl; return 0; }