結果
問題 | No.2525 Great Move |
ユーザー |
![]() |
提出日時 | 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 |
ソースコード
#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; }