結果
問題 | No.2525 Great Move |
ユーザー |
![]() |
提出日時 | 2024-02-09 19:41:24 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 274 bytes |
コンパイル時間 | 1,913 ms |
コンパイル使用メモリ | 201,936 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-28 13:10:32 |
合計ジャッジ時間 | 2,857 ms |
ジャッジサーバー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; }