记录详情

Wrong Answer

foo.cc: In function 'int qmax(int&, int)':
foo.cc:3:38: warning: no return statement in function returning non-void [-Wreturn-type]
 int qmax(int &x,int y) {if (x<y) x=y;}
                                      ^
foo.cc: In function 'int qmin(int&, int)':
foo.cc:4:38: warning: no return statement in function returning non-void [-Wreturn-type]
 int qmin(int &x,int y) {if (x>y) x=y;}
                                      ^
foo.cc: In function 'int read()':
foo.cc:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(s==EOF)exit(0);if(s=='-')base=-1,s=getchar();
     ^~
foo.cc:9:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if(s==EOF)exit(0);if(s=='-')base=-1,s=getchar();
                       ^~
foo.cc: In function 'int dfs(int, int)':
foo.cc:46:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (u==T||low==0) return low;int used=0,v,W;
     ^~
foo.cc:46:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if (u==T||low==0) return low;int used=0,v,W;
                                  ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -5970, expect 3990. 2ms 384.0 KiB
#2 Wrong Answer Read 11148, expect 23549. 2ms 384.0 KiB

信息

递交者
类型
自测
题目
P1286 迷宫取数
语言
C++
递交时间
2021-07-25 09:42:53
评测时间
2021-07-25 09:42:53
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB