結果

問題 No.2525 Great Move
ユーザー otamay6
提出日時 2023-11-04 13:27:15
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 705 ms
コンパイル使用メモリ 66,716 KB
最終ジャッジ日時 2025-02-17 19:10:29
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 12 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>

int main(void){
	std::string h,s;
	std::cin>>h>>s;
	if(h.back() & 1 == s.back() & 1){
		std::cout << "Possible" << std::endl;
	}
	else
	{
		std::cout << "Impossible" << std::endl;
	}
}
0