結果
| 問題 |
No.2525 Great Move
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-06 16:09:37 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 241 bytes |
| コンパイル時間 | 1,412 ms |
| コンパイル使用メモリ | 169,968 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-25 23:04:00 |
| 合計ジャッジ時間 | 2,336 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 14 WA * 12 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
string a,b;cin>>a>>b;
reverse(a.begin(),a.end());
reverse(b.begin(),b.end());
int c=a[0]-'0',d=b[0]-'0';
vector<string> ans={"Possible","Impossible"};
cout<<ans[(c+d)%1]<<endl;
}