結果
問題 |
No.2525 Great Move
|
ユーザー |
|
提出日時 | 2023-07-15 18:49:08 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 267 bytes |
コンパイル時間 | 1,523 ms |
コンパイル使用メモリ | 166,776 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-17 03:40:07 |
合計ジャッジ時間 | 2,517 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }