結果
| 問題 | No.3108 Luke or Bishop |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-19 10:59:03 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 297 ms |
| コンパイル使用メモリ | 78,948 KB |
| 実行使用メモリ | 9,164 KB |
| 最終ジャッジ日時 | 2026-07-09 22:27:20 |
| 合計ジャッジ時間 | 1,890 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 WA * 16 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int X,Y;
cin>>X>>Y;
int x=0,y=0;
int ans=0;
if(X==Y){
ans++;
cout<<ans<<endl;
return 0;
}else{
ans+=2;
cout<<ans<<endl;
return 0;
}
}