結果

問題 No.264 じゃんけん
ユーザー kongarishisyamo
提出日時 2016-03-01 05:21:18
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 228 bytes
コンパイル時間 503 ms
コンパイル使用メモリ 57,564 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 12:59:09
合計ジャッジ時間 1,003 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>

using namespace std;

int main(){

	string res[3][3]={{"Drew","Won" ,"Lost"},
					  {"Lost","Drew","Won" },
					  {"Won" ,"Lost","Drew"}};
	int N,K;

	cin>>N>>K;

	cout<<res[N][K]<<endl;

}
0