Red and Black
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 118 Accepted Submission(s): 92
Problem Description
There is a rectangular ro...
Problem Description
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjac...
system-config-nfs server setteing select 32764 to 32767 as port system-config-securitylevel to add the relevant ports add port 111 to both side as it is portmap port
add port 2049 to both ...
Red and Black
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 40685
Accepted: 22079
Description
There is a rectangular room, covered with square tiles. Each tile is colored...
I - Red and Black
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Submit Status Practice HDU 1312
Description
There is a rectangular room, covered...
Red and Black
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23404 Accepted Submission(s):
14142
Problem Description
There is a re...
1419: Red is good
Time Limit: 10 Sec Memory Limit: 64 MBSubmit: 1163 Solved: 537[Submit][Status][Discuss]
Description
桌面上有R张红牌和B张黑牌,随机打乱顺序后放在桌面上,开始一张一张地翻牌,...
#include<stdio.h>
int w,h,ans;
char a[30][30];
int d[4][2]={{0,-1},{0,1},{1,0},{-1,0}};
int dfs(int i,int j)
{
int ii,jj;
for(int k=0;k<4;k++)
{
ii=i+d[k][0];
jj=...