/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool dfs(int)':
/in/foo.cc:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (vis[v]) continue; vis[v]=1;
         ^~
/in/foo.cc:24:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if (vis[v]) continue; vis[v]=1;
                               ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:57: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'float*' [-Wformat=]
     for (int i=1; i<=n; i++) scanf("%lf%lf",&x[i], &y[i]);
                                             ~~~~~       ^
/in/foo.cc:35:57: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'float*' [-Wformat=]
/in/foo.cc:36:65: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'float*' [-Wformat=]
     for (int i=1; i<=m; i++) scanf("%lf%lf%lf",&a[i],&b[i],&c[i]);
                                                ~~~~~            ^
/in/foo.cc:36:65: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'float*' [-Wformat=]
/in/foo.cc:36:65: warning: format '%lf' expects argument of type 'double*', but argument 4 has type 'float*' [-Wformat=]
# 状态 耗时 内存占用
#1 Wrong Answer 78ms 2.324 MiB
#2 Wrong Answer 86ms 2.434 MiB
#3 Wrong Answer 82ms 2.434 MiB
#4 Accepted 2ms 2.32 MiB
#5 Wrong Answer 13ms 2.309 MiB
#6 Wrong Answer 9ms 2.309 MiB
#7 Wrong Answer 13ms 2.324 MiB

信息

递交者
类型
递交
题目
P1212 Way Selection
语言
C++
递交时间
2018-11-27 21:01:26
评测时间
2018-11-27 21:01:26
评测机
分数
10
总耗时
285ms
峰值内存
2.434 MiB