結果
問題 | No.2525 Great Move |
ユーザー |
|
提出日時 | 2023-11-03 21:25:38 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 1,767 ms |
コンパイル使用メモリ | 166,076 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-25 19:02:45 |
合計ジャッジ時間 | 2,787 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll=long long; int main(){ string h,s; cin>>h>>s; ll hb=h.back()-'0'; ll sb=s.back()-'0'; if(hb%2==sb%2){ cout<<"Possible"<<endl; }else{ cout<<"Impossible"<<endl; } }