結果

問題 No.264 じゃんけん
ユーザー satanic
提出日時 2015-12-10 22:42:35
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 300 bytes
コンパイル時間 689 ms
コンパイル使用メモリ 63,964 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-15 07:43:35
合計ジャッジ時間 1,101 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
using namespace std;

int main(){
  int x, y;
  vector<vector<string>> a{{"Drew", "Won" , "Lost"},
                           {"Lost", "Drew", "Won" },
			   {"Won" , "Lost", "Drew"}};

  cin >> x >> y;
  cout << a[x][y] << "\n";

  return 0;
}
0