結果

問題 No.264 じゃんけん
ユーザー hotpepsi
提出日時 2016-08-11 00:53:02
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 659 ms
コンパイル使用メモリ 56,056 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 10:37:48
合計ジャッジ時間 1,218 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <sstream>
int main() {
	int N, K;
	std::cin >> N >> K;
	std::string ans = N == K ? "Drew" : (N == (K + 2) % 3 ? "Won" : "Lose");
	std::cout << ans << std::endl;
	return 0;
}
0