/ SUOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k;
        ^
/in/foo.cc:31:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k;
          ^
/in/foo.cc:24:17: warning: 'mn' may be used uninitialized in this function [-Wmaybe-uninitialized]
    re=1;if(b-a>i-mn||(b-a==i-mn&&mn<a)) a=mn,b=i;
                ~^~~
/in/foo.cc:20:20: note: 'mn' was declared here
  double mi=1e9;int mn;bool re=0;
                    ^~
/in/foo.cc:39:29: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
  }printf("%d %d %.4f",a,b,l);
                             ^
/in/foo.cc:39:29: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 2.203 MiB
#2 Accepted 4ms 2.25 MiB
#3 Accepted 2ms 2.363 MiB
#4 Accepted 5ms 2.344 MiB
#5 Accepted 3ms 2.371 MiB
#6 Accepted 28ms 2.625 MiB
#7 Accepted 13ms 2.461 MiB
#8 Accepted 9ms 2.59 MiB
#9 Accepted 53ms 5.238 MiB
#10 Accepted 93ms 5.734 MiB

信息

递交者
类型
递交
题目
#7 区间平均++
语言
C++
递交时间
2018-09-13 09:47:33
评测时间
2018-09-13 09:47:33
评测机
分数
90
总耗时
217ms
峰值内存
5.734 MiB