結果
| 問題 |
No.2525 Great Move
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-03 22:38:43 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 223 bytes |
| コンパイル時間 | 944 ms |
| コンパイル使用メモリ | 54,184 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-25 21:01:37 |
| 合計ジャッジ時間 | 1,775 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 WA * 12 |
ソースコード
#include <iostream>
using namespace std; //cin, coutを使う
int main(){
int H;
int S;
cin >> H;
cin >> S;
if ((abs(H) + abs(S)) % 2 == 0) {
cout << "Possible" << endl;
} else {
cout << "Impossible" << endl;
}
}