結果
| 問題 | No.2525 Great Move |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-15 18:49:08 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 6 ms / 2,000 ms |
| + 763µs | |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 914 ms |
| コンパイル使用メモリ | 179,344 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-29 06:22:56 |
| 合計ジャッジ時間 | 2,773 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
string H, S;
cin >> H >> S;
int h, s;
h = (int)H[H.length() - 1];
s = (int)S[S.length() - 1];
if(h % 2 == s % 2){
cout << "Possible" << endl;
}else{
cout << "Impossible" << endl;
}
return 0;
}