結果

問題 No.2525 Great Move
ユーザー otamay6otamay6
提出日時 2023-11-04 13:28:20
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 2,320 ms
コンパイル使用メモリ 67,252 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-11-04 13:28:23
合計ジャッジ時間 2,025 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
4,372 KB
testcase_01 AC 11 ms
4,372 KB
testcase_02 WA -
testcase_03 AC 10 ms
4,372 KB
testcase_04 WA -
testcase_05 AC 2 ms
4,372 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 2 ms
4,372 KB
testcase_09 WA -
testcase_10 AC 7 ms
4,372 KB
testcase_11 AC 4 ms
4,372 KB
testcase_12 WA -
testcase_13 AC 7 ms
4,372 KB
testcase_14 WA -
testcase_15 AC 8 ms
4,372 KB
testcase_16 AC 7 ms
4,372 KB
testcase_17 AC 3 ms
4,372 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 2 ms
4,372 KB
testcase_21 WA -
testcase_22 AC 2 ms
4,372 KB
testcase_23 AC 2 ms
4,372 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 2 ms
4,372 KB
testcase_27 WA -
testcase_28 AC 2 ms
4,372 KB
権限があれば一括ダウンロードができます

ソースコード

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