>>10
おれだったらこんな感じ
#include <iostream>
#include <map>
#include <string>
using namespace std;

void Play(int l, int r)
{
  enum janken{ goo = 0, choki, pahh};
  static map<int,string> gjmap;
  gjmap[goo] = "ぐー";
  gjmap[choki] = "ちょき";
  gjmap[pahh] = "ぱー";

  enum judge{ lose=0, win, even };
  static int judge_map[3][3] = {{even,win,lose},{lose,even,win},{win,lose,even} };

  switch(judge_map[l][r])
  {
  case win:
    cout<<gjmap[l]; break;
  case lose:
    cout<<gjmap[r]; break;
  case even:
    cout<<"Draw"<<endl; return;
  }
  cout<<" winner"<<endl;
}