/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void solve()':
foo.cc:44:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   44 |         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'
   44 |         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]
   68 | {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]
   41 |     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]
   51 |             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]
   61 |             db a;db b;scanf("%lf%lf",&a,&b);
      |                       ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1,100d0 < 0.368639 < 0.783005 16ms 8.25 MiB
#2 Wrong Answer 1,100d0 < 0.500000 < 0.500000 50ms 8.375 MiB
#3 Wrong Answer 1,100d0 < 0.333333 < 0.333333 39ms 8.375 MiB
#4 Wrong Answer 1,100d0 < 0.764706 < 0.294118 43ms 8.375 MiB
#5 Wrong Answer 1,100d0 < 0.214286 < 0.500000 162ms 9.25 MiB
#6 Wrong Answer 1,100d0 < 0.375000 < 0.812500 151ms 9.25 MiB
#7 Wrong Answer 1,100d0 < 0.333333 < 0.416667 161ms 9.25 MiB
#8 Wrong Answer 1,100d0 < 0.777778 < 0.777778 153ms 9.25 MiB
#9 Wrong Answer 1,100d0 < 0.272727 < 0.727273 178ms 9.25 MiB
#10 Wrong Answer 1,100d0 < 0.500000 < 0.571429 133ms 9.25 MiB
#11 Wrong Answer 1,100d0 < 0.500000 < 0.500000 289ms 10.25 MiB
#12 Wrong Answer 1,100d0 < 0.500000 < 0.500000 276ms 10.25 MiB
#13 Wrong Answer 1,100d0 < 0.307692 < 0.538462 11ms 8.25 MiB
#14 Wrong Answer 1,100d0 < 0.400000 < 0.133333 13ms 8.375 MiB
#15 Wrong Answer 1,100d0 < 0.500000 < 0.500000 11ms 8.375 MiB
#16 Wrong Answer 1,100d0 < 0.500000 < 0.166667 14ms 8.375 MiB
#17 Wrong Answer 1,100d0 < 0.666667 < 0.666667 16ms 8.375 MiB
#18 Wrong Answer 1,100d0 < 0.750000 < 0.300000 16ms 8.5 MiB
#19 Wrong Answer 1,100d0 < 0.789474 < 0.263158 14ms 8.375 MiB
#20 Wrong Answer 1,100d0 < 0.800000 < 0.266667 17ms 8.375 MiB

信息

递交者
类型
递交
题目
P2039 龙与地下城
语言
C++
递交时间
2022-05-22 09:45:35
评测时间
2022-05-22 09:45:35
评测机
分数
0
总耗时
1772ms
峰值内存
10.25 MiB