L1-7

 500 MS 64 MB |  Markdown 30 Point(s) 获取标签
0837
通过人数尝试人数总提交数

 

题目描述

输入格式

输出格式

样例输入 #1

NPPPPPPP
PPPPPPPN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
1 1 1 1
3
1 3 2

样例输出 #1

Player 1: Eliminated
Player 2: Cash=0, Estates=0
Player 3: Eliminated
Player 4: Eliminated

样例输入 #2

NNNENNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
NNNNNNNN
1 1 1 1
3
2 1 3

样例输出 #2

Player 1: Eliminated
Player 2: Eliminated
Player 3: Cash=1100, Estates=1
Player 4: Eliminated

样例输入 #3

NPNDBNBP
BNNBNNPB
BNNNPDND
NNNBNNDD
PBPBBNPB
BPBNNPND
PBPBPBDP
PPPBNNPN
11 45 14 19
4
1 9 8 10

样例输出 #3

Player 1: Cash=500, Estates=0
Player 2: Eliminated
Player 3: Eliminated
Player 4: Cash=700, Estates=0

提示

来源

 

 您尚未登录,无法进行代码提交