結果
| 問題 | No.2525 Great Move |
| コンテスト | |
| ユーザー |
kolvlmam3
|
| 提出日時 | 2023-11-07 14:10:45 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 439 bytes |
| 記録 | |
| コンパイル時間 | 1,176 ms |
| コンパイル使用メモリ | 209,116 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-02 23:27:53 |
| 合計ジャッジ時間 | 2,279 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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