30 条题解
- 
  1涅槃、卿莫 (龙阿紫) LV 10 @ 2021-10-14 19:53:14 逊 
- 
  0@ 2009-08-12 15:19:16无聊,写了针对数据的程序还是过不了... 
- 
  0@ 2009-08-09 13:26:10N次50分...... 
 看了题解之后我想死啊......
 为什么没时间了还要传,这不是=着被抓吗?
- 
  0@ 2009-07-27 20:26:28有问题的数据……又降了我1点AC率 庆祝AC150题 
- 
  0@ 2009-07-22 14:07:06这题 考选手的耐心 大于 考DP的掌握程度.. 
- 
  0@ 2009-07-01 21:32:03发个不带空格的,拜托拜托 
- 
  0@ 2009-06-02 13:45:13强烈BS数据。。 
 3~7的点有出现“程序输出比正确答案长”的要再传1次。。
 建议把下面那个“标程”复制去对对数据3 3 
 2 3 4
 1 0 5
 8 7 6
 3 3
 1 0 1
 1 1 1
 1 1 1按照标程答案却应该要输出 
 5
 2,3
 交了9次。。AC率啊`- -
- 
  0@ 2009-04-04 21:52:36多么无聊的题目! 
 提交n次才发现,时间没了后,还要再传一次!而且输出的是人的个数,不是error!
- 
  0@ 2009-03-30 21:20:38这题我强烈建议大家抄标程! 
- 
  0@ 2009-03-25 20:25:05题意不明 
 无聊的阅读理解题
- 
  0@ 2009-02-13 17:53:25好复杂的题目+诡异的数据,但是不难!(还好有楼下的提醒数据有问题,不然怎么A啊!) 
- 
  0@ 2009-02-04 22:02:38说下本题的细节和BUG: 
 1.当时间
- 
  0@ 2009-02-04 16:39:34var i,j,k1,k2,l1,l2,m,n,d,x,y,p,q,t,min,ans:longint; 
 a,b:array[0..31,0..31]of longint;
 c:array[0..31,0..31]of boolean;
 procedure chuan(time,hen,zong:longint);
 var e,f,min:longint;
 begin
 if ((not(c[hen-1,zong]))and(not(c[hen,zong-1]))and(not(c[hen+1,zong]))and(not(c[hen,zong+1])))and(ansk1*k2)
 then
 begin
 writeln('Error!');
 write(hen,',',zong);
 halt;
 end
 else
 if ans=k1*k2 then
 begin
 writeln(ans);
 write(hen,',',zong);
 halt;
 end;
 e:=hen;
 f:=zong;
 min:=maxlongint;
 if c[hen-1,zong] then begin min:=a[hen-1,zong];e:=hen-1;f:=zong;end;
 if (c[hen,zong-1])and(min>a[hen,zong-1])then
 begin
 min:=a[hen,zong-1];
 e:=hen;
 f:=zong-1;
 end;
 if (c[hen+1,zong])and(min>a[hen+1,zong])then
 begin
 min:=a[hen+1,zong];
 e:=hen+1;
 f:=zong;
 end;
 if (c[hen,zong+1])and(min>a[hen,zong+1])then
 begin
 min:=a[hen,zong+1];
 e:=hen;
 f:=zong+1;
 end;
 time:=time-min;
 if time>0 then begin ans:=ans+1;c[e,f]:=false;chuan(time,e,f);end
 else if time=0
 then
 begin
 writeln(ans+1);
 write(e,',',f);
 halt;
 end
 else
 begin
 writeln(ans);
 write(e,',',f);
 halt;
 end;
 end;
 begin
 fillchar(c,sizeof(c),false);
 readln(k1,k2);
 for i:=1 to k1 do
 begin
 for j:=1 to k2 do
 begin
 read(a);
 c:=true;
 if a=0 then
 begin
 x:=i;
 y:=j;
 c:=false;
 end;
 end;
 readln;
 end;
 readln(l1,l2);
 for i:=1 to l1 do
 begin
 for j:=1 to l2 do
 begin
 read(b);
 if b=0 then
 begin
 p:=i;
 q:=j;
 end;
 end;
 readln;
 end;
 read(d);
 t:=0;
 min:=0;
 ans:=1;
 for i:=l1 downto p+1 do
 for j:=l2 downto 1 do
 t:=t+b;
 if d=0
 then
 begin
 if (l1-p) mod 2=0 then for j:=1 to q-1 do t:=t+b[p,j]
 else for j:=l2 downto q+1 do t:=t+b[p,j];
 end
 else
 begin
 if (l1-p) mod 2=0 then for j:=l2 downto q+1 do t:=t+b[p,j]
 else for j:=1 downto q-1 do t:=t+b[p,j];
 end;
 chuan(t,x,y);
 end.
 编译通过...
 ├ 测试数据 01:答案正确... 0ms
 ├ 测试数据 02:答案正确... 0ms
 ├ 测试数据 03:答案错误...程序输出比正确答案长
 ├ 测试数据 04:答案错误...程序输出比正确答案长
 ├ 测试数据 05:答案错误...程序输出比正确答案长
 ├ 测试数据 06:答案错误...程序输出比正确答案长
 ├ 测试数据 07:答案错误...程序输出比正确答案长
 ├ 测试数据 08:答案正确... 0ms
 ├ 测试数据 09:答案正确... 0ms
 ├ 测试数据 10:答案正确... 0ms
 请问各位大牛,如何解决?
- 
  0@ 2009-02-04 10:51:09变态的题... 
- 
  0@ 2009-02-04 08:51:41好烂的题…… 
- 
  0@ 2009-02-04 08:23:43如果剩余时间小于0了 
 还是要继续找下一个坐标输出
 但人数保持不变如果你得了50,把程序稍微改一下就可以了。 
- 
  0@ 2009-02-02 15:50:45害人的数据 
 强烈请求查看数据的正确性
 PS:如果剩余时间小于0了
 还是要继续找下一个坐标输出
 但人数保持不变
- 
  0@ 2009-02-02 15:43:55数据太鬼了!!当剩余时间为零时仍可搜,剩余时间<0时步数不加一,但坐标输出为下一步!!!!! 
- 
  0@ 2009-02-02 15:30:22编译通过... 
 ├ 测试数据 01:答案正确... 0ms
 ├ 测试数据 02:答案正确... 0ms
 ├ 测试数据 03:答案正确... 0ms
 ├ 测试数据 04:答案正确... 0ms
 ├ 测试数据 05:答案正确... 0ms
 ├ 测试数据 06:答案正确... 0ms
 ├ 测试数据 07:答案正确... 0ms
 ├ 测试数据 08:答案正确... 0ms
 ├ 测试数据 09:答案正确... 0ms
 ├ 测试数据 10:答案正确... 0ms
 ---|---|---|---|---|---|---|---|-
 Accepted 有效得分:100 有效耗时:0ms终于A了!!!!!!! 第10个AC!!!!!! 不过,数据貌似有点问题!!! 题目以及数据都有点诡异!!!! 
- 
  0@ 2009-01-27 17:48:53#include 
 #include
 using namespace std;
 int find (int z,int x,int c,int v)
 {
 if (z==INT_MAX&&x==INT_MAX&&c==INT_MAX&&v==INT_MAX)return 0;
 int k,l;
 k=min(z,x);
 l=min(c,v);
 l=min(k,l);
 if (l==z)return 1;
 if (l==x)return 2;
 if (l==c)return 3;
 return 4;
 }
 int main (void)
 {
 int k1,k2;
 cin>>k1>>k2;
 int g1=1,g=1,l,a[k1][k2],a1[k1][k2],i,j,p=1,p1,p2,m=0,f1,f2,y1,y2,z,x,c,v;
 for (i=0;ia[i][j];a1[i][j]=0;
 if (a[i][j]==0){f1=i;f2=j;}
 }
 }
 a1[f1][f2]=1;
 cin>>y1>>y2;
 int b[y1][y2];
 for (i=0;ib[i][j];
 if (b[i][j]==0){p=0;p1=i;p2=j;}
 if (p==0&&p1!=i){m+=b[i][j];}
 }
 }
 cin>>p;
 if (p==0) {for (i=0;i