結果

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

ソースコード

diff #

#include<iostream>
#include<string>

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