結果
問題 |
No.3108 Luke or Bishop
|
ユーザー |
|
提出日時 | 2025-04-19 10:59:03 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 894 ms |
コンパイル使用メモリ | 65,704 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-04-19 10:59:06 |
合計ジャッジ時間 | 2,070 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; } }