結果

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

ソースコード

diff #

#include<iostream>
#include<string>

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