結果
問題 |
No.2525 Great Move
|
ユーザー |
|
提出日時 | 2023-11-03 21:21:44 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 496 bytes |
コンパイル時間 | 5,191 ms |
コンパイル使用メモリ | 309,084 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-25 18:52:52 |
合計ジャッジ時間 | 5,514 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 WA * 12 |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <atcoder/all> using namespace atcoder; #define rep(i,n) for (int i = 0; i < (n); ++i) using ld = long double; using ll = long long; template<class T> bool chmax(T &a, T b) { if(a<b) { a = b; return true; } return false; } template<class T> bool chmin(T &a, T b) { if(a>b) { a = b; return true; } return false; } int main() { int a, b; cin >> a >> b; cout << (abs(a-b)%2==0?"Possible":"Impossible") << endl; }