/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void solve()':
foo.cc:44:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(len=0;(1<<len)<=lim;len++);lim=(1<<len);len--;
         ^~~
foo.cc:44:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
         for(len=0;(1<<len)<=lim;len++);lim=(1<<len);len--;
                                        ^~~
foo.cc: In function 'int main()':
foo.cc:68:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 {scanf("%d",&T);for(int z=1;z<=T;z++){solve();clear();}return 0;}
  ~~~~~^~~~~~~~~
foo.cc: In function 'void solve()':
foo.cc:41:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&x,&y);lim=x*y;
     ~~~~~^~~~~~~~~~~~~~
foo.cc:51:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             int a;int b;scanf("%d%d",&a,&b);db ret=0;
                         ~~~~~^~~~~~~~~~~~~~
foo.cc:61:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             db a;db b;scanf("%lf%lf",&a,&b);
                       ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1,100d0 < 0.368639 < 0.783005 7ms 8.328 MiB
#2 Wrong Answer 1,100d0 < 0.500000 < 0.500000 19ms 8.473 MiB
#3 Wrong Answer 1,100d0 < 0.333333 < 0.333333 19ms 8.48 MiB
#4 Wrong Answer 1,100d0 < 0.764706 < 0.294118 20ms 8.477 MiB
#5 Wrong Answer 1,100d0 < 0.214286 < 0.500000 114ms 9.348 MiB
#6 Wrong Answer 1,100d0 < 0.375000 < 0.812500 127ms 9.355 MiB
#7 Wrong Answer 1,100d0 < 0.333333 < 0.416667 111ms 9.359 MiB
#8 Wrong Answer 1,100d0 < 0.777778 < 0.777778 114ms 9.359 MiB
#9 Wrong Answer 1,100d0 < 0.272727 < 0.727273 115ms 9.359 MiB
#10 Wrong Answer 1,100d0 < 0.500000 < 0.571429 109ms 9.352 MiB
#11 Wrong Answer 1,100d0 < 0.500000 < 0.500000 237ms 10.355 MiB
#12 Wrong Answer 1,100d0 < 0.500000 < 0.500000 239ms 10.352 MiB
#13 Wrong Answer 1,100d0 < 0.307692 < 0.538462 9ms 8.348 MiB
#14 Wrong Answer 1,100d0 < 0.400000 < 0.133333 11ms 8.273 MiB
#15 Wrong Answer 1,100d0 < 0.500000 < 0.500000 9ms 8.332 MiB
#16 Wrong Answer 1,100d0 < 0.500000 < 0.166667 12ms 8.363 MiB
#17 Wrong Answer 1,100d0 < 0.666667 < 0.666667 13ms 8.402 MiB
#18 Wrong Answer 1,100d0 < 0.750000 < 0.300000 13ms 8.422 MiB
#19 Wrong Answer 1,100d0 < 0.789474 < 0.263158 11ms 8.383 MiB
#20 Wrong Answer 1,100d0 < 0.800000 < 0.266667 14ms 8.395 MiB

信息

递交者
类型
递交
题目
P2039 龙与地下城
语言
C++
递交时间
2021-10-16 11:37:57
评测时间
2021-10-16 11:37:57
评测机
分数
0
总耗时
1332ms
峰值内存
10.355 MiB