记录详情

Wrong Answer

/in/foo.cc: In function 'int read()':
/in/foo.cc:26:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (c=gc;!isdigit(c);c=gc) if (c=='-') f=-1; x=c-'0';
     ^~~
/in/foo.cc:26:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (c=gc;!isdigit(c);c=gc) if (c=='-') f=-1; x=c-'0';
                                                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,s,n) for (register int i=s;i<=n;i++)
                    ^
/in/foo.cc:61:5: note: in expansion of macro 'rep'
     rep(i,1,n) ans+=s[i]/v[i]; printf("%.11lf\n",ans);
     ^~~
/in/foo.cc:61:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     rep(i,1,n) ans+=s[i]/v[i]; printf("%.11lf\n",ans);
                                ^~~~~~
/in/foo.cc: In function 'double solve(int, double)':
/in/foo.cc:42:12: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return mid;
            ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 6.355 MiB
#2 Wrong Answer 4ms 6.355 MiB
#3 Wrong Answer 3ms 6.25 MiB
#4 Wrong Answer 4ms 6.344 MiB
#5 Wrong Answer 4ms 6.359 MiB
#6 Wrong Answer 3ms 6.359 MiB
#7 Wrong Answer 3ms 6.359 MiB
#8 Wrong Answer 3ms 6.375 MiB
#9 Wrong Answer 4ms 6.324 MiB
#10 Wrong Answer 5ms 6.355 MiB
#11 Wrong Answer 7ms 6.359 MiB
#12 Wrong Answer 10ms 6.371 MiB
#13 Wrong Answer 11ms 6.25 MiB
#14 Wrong Answer 23ms 6.375 MiB
#15 Wrong Answer 31ms 6.25 MiB
#16 Wrong Answer 59ms 6.367 MiB
#17 Wrong Answer 108ms 6.352 MiB
#18 Wrong Answer 205ms 6.262 MiB
#19 Wrong Answer 212ms 6.359 MiB
#20 Wrong Answer 363ms 6.457 MiB

信息

递交者
类型
递交
题目
骑行川藏(noi2012)
题目数据
下载
语言
C++
递交时间
2018-08-05 17:17:29
评测时间
2018-08-05 17:19:06
评测机
分数
0
总耗时
1076ms
峰值内存
6.457 MiB