結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
kongarishisyamo
|
| 提出日時 | 2016-03-01 05:20:55 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 611 ms |
| コンパイル使用メモリ | 56,468 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 12:59:01 |
| 合計ジャッジ時間 | 1,180 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 1 |
ソースコード
#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;
}
kongarishisyamo