結果
| 問題 |
No.3108 Luke or Bishop
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-18 21:28:53 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 227 bytes |
| コンパイル時間 | 3,143 ms |
| コンパイル使用メモリ | 273,548 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-04-18 21:29:06 |
| 合計ジャッジ時間 | 3,684 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 1 WA * 25 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int x,y=0;
int temp=0;
cin >> x;
cin >> y;
if(x==y ||x==-y){
temp == 1;
}
else{
temp == 2;
}
cout << temp << endl;
}