結果

問題 No.2525 Great Move
ユーザー soyamashsoyamash
提出日時 2023-11-03 22:55:01
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 478 ms
コンパイル使用メモリ 65,220 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-25 21:16:22
合計ジャッジ時間 1,360 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 12 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std; //cin, coutを使う
int main(){
    int H;
    int S;
    cin >> H >> S;
    if ((abs(H) % 2 + abs(S) % 2) % 2 == 0) {
        cout << "Impossible" << endl;
    } else {
        cout << "Possible" << endl;
    }
}
0