結果
| 問題 |
No.2525 Great Move
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-03 22:53:12 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 623 ms |
| コンパイル使用メモリ | 63,104 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-25 21:15:29 |
| 合計ジャッジ時間 | 1,580 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 12 WA * 14 |
ソースコード
#include <iostream>
using namespace std; //cin, coutを使う
int main(){
int H;
int S;
cin >> H >> S;
if ((abs(H) % 2 + abs(S) % 2) % 2 == 0) {
cout << "Impossible" << endl;
} else {
cout << "Possible" << endl;
}
}