[Algorithm] 백준 BOJ 2930 가위바위보 python 파이썬 그리디 브론즈 2
Private 난이도 : ♥♥♥♡♡ 2930번: 가위 바위 보 가위 바위 보는 두 사람이 즐기는 유명한 게임이다. 각 플레이어는 자신의 손을 이용해서 가위, 바위, 보 중 한 모양을 만들어야 한다. 두 플레이어가 같은 모양을 만든 경우에는 비기게 된다. 가 www.acmicpc.net import sys r=int(sys.stdin.readline()) # round 수=5 sg=sys.stdin.readline().strip() # 상근이의 모양 n=int(sys.stdin.readline()) # 친구의 수 play=['' for _ in range(n)] for i in range(n): play[i]=sys.stdin.readline().strip() # print(play) #['PPRRS', ..