結果

問題 No.2525 Great Move
ユーザー srjywrdnprkt
提出日時 2024-02-09 19:41:24
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 1,935 ms
コンパイル使用メモリ 193,092 KB
最終ジャッジ日時 2025-02-19 03:05:33
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
using ll = long long;

int main(){
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);

    string a, b;
    cin >> a >> b;
    cout << ((a.back()-b.back())%2 == 0 ? "Possible" : "Impossible") << endl;

    return 0;
}
0