結果
| 問題 |
No.3108 Luke or Bishop
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-19 11:02:19 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 216 bytes |
| コンパイル時間 | 947 ms |
| コンパイル使用メモリ | 65,752 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-04-19 11:02:22 |
| 合計ジャッジ時間 | 1,429 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 WA * 16 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int64_t X,Y;
cin>>X>>Y;
int64_t x=0,y=0;
int64_t ans=0;
if(X==Y){
ans++;
cout<<ans<<endl;
return 0;
}else{
ans+=2;
cout<<ans<<endl;
return 0;
}
}