結果
| 問題 |
No.2525 Great Move
|
| コンテスト | |
| ユーザー |
kolvlmam3
|
| 提出日時 | 2023-11-07 14:10:45 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 439 bytes |
| コンパイル時間 | 1,726 ms |
| コンパイル使用メモリ | 192,296 KB |
| 最終ジャッジ日時 | 2025-02-17 19:56:52 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#ifdef local
#include "debugger.hpp"
#else
#define debug(...)
#endif
int main(void) {
ios::sync_with_stdio(false);
cin.tie(nullptr);
constexpr char endl = '\n';
string h, s;
cin >> h >> s;
int num1 = h.back() - '0', num2 = s.back() - '0';
string ans = "Possible";
if (num1 % 2 != num2 % 2) ans = "Impossible";
cout << ans << endl;
return 0;
}
kolvlmam3