結果

問題 No.264 じゃんけん
ユーザー CotaSirogami
提出日時 2019-02-24 20:18:40
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 438 ms
コンパイル使用メモリ 58,848 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 15:37:24
合計ジャッジ時間 933 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;

int main() {
	int a, b;
	string ans;

	cin >> a >> b;
	if (a == b) ans = "Drow";
	else if ((a - b) == 1 || (a - b) == -2) ans = "Lose";
	else ans = "Win";

	cout << ans << endl;
}
0