結果
| 問題 | No.3108 Luke or Bishop |
| コンテスト | |
| ユーザー |
o_o0O
|
| 提出日時 | 2025-05-15 14:03:35 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 235 bytes |
| コンパイル時間 | 648 ms |
| コンパイル使用メモリ | 68,100 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-05-15 14:03:37 |
| 合計ジャッジ時間 | 1,917 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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