/ 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 22ms 8.375 MiB
#3 Wrong Answer 1,100d0 < 0.333333 < 0.333333 33ms 8.5 MiB
#4 Wrong Answer 1,100d0 < 0.764706 < 0.294118 20ms 8.375 MiB
#5 Wrong Answer 1,100d0 < 0.214286 < 0.500000 124ms 9.25 MiB
#6 Wrong Answer 1,100d0 < 0.375000 < 0.812500 149ms 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 147ms 9.242 MiB
#9 Wrong Answer 1,100d0 < 0.272727 < 0.727273 153ms 9.25 MiB
#10 Wrong Answer 1,100d0 < 0.500000 < 0.571429 144ms 9.25 MiB
#11 Wrong Answer 1,100d0 < 0.500000 < 0.500000 402ms 10.25 MiB
#12 Wrong Answer 1,100d0 < 0.500000 < 0.500000 434ms 10.25 MiB
#13 Wrong Answer 1,100d0 < 0.307692 < 0.538462 16ms 8.25 MiB
#14 Wrong Answer 1,100d0 < 0.400000 < 0.133333 16ms 8.375 MiB
#15 Wrong Answer 1,100d0 < 0.500000 < 0.500000 13ms 8.25 MiB
#16 Wrong Answer 1,100d0 < 0.500000 < 0.166667 13ms 8.375 MiB
#17 Wrong Answer 1,100d0 < 0.666667 < 0.666667 22ms 8.375 MiB
#18 Wrong Answer 1,100d0 < 0.750000 < 0.300000 14ms 8.375 MiB
#19 Wrong Answer 1,100d0 < 0.789474 < 0.263158 12ms 8.375 MiB
#20 Wrong Answer 1,100d0 < 0.800000 < 0.266667 29ms 8.375 MiB

信息

递交者
类型
递交
题目
P2039 龙与地下城
语言
C++
递交时间
2022-01-13 18:26:23
评测时间
2022-01-13 18:26:23
评测机
分数
0
总耗时
1950ms
峰值内存
10.25 MiB