結果
| 問題 | No.3108 Luke or Bishop |
| コンテスト | |
| ユーザー |
o_o0O
|
| 提出日時 | 2025-05-15 14:04:34 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 239 bytes |
| コンパイル時間 | 761 ms |
| コンパイル使用メモリ | 65,784 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2025-05-15 14:04:36 |
| 合計ジャッジ時間 | 2,041 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 25 WA * 1 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int x,y;
int a=0;
cin >> x >> y;
if (x == y || x == -y || x == 0 || y == 0){
a = 1;
//}else if (x == 0 && y == 0){
// a = 0;
}else{
a = 2;
}
cout << a << endl;
return 0;
}
o_o0O