結果

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

ソースコード

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