結果
問題 | No.532 Possible or Impossible |
ユーザー |
|
提出日時 | 2020-05-29 19:15:49 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 362 bytes |
コンパイル時間 | 984 ms |
コンパイル使用メモリ | 75,628 KB |
最終ジャッジ日時 | 2025-01-10 16:16:44 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 WA * 1 |
ソースコード
#include <iostream> #include <set> std::set<std::pair<int, int>> outs{{1, 0}, {2, 0}, {3, 3}}; void solve() { std::pair<int, int> p; std::cin >> p.first >> p.second; std::cout << (outs.count(p) ? "Impossible" : "Possible") << "\n"; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }