/ SUOI /

记录详情

Accepted

/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 Accepted 4ms 2.375 MiB
#2 Accepted 3ms 2.355 MiB
#3 Accepted 5ms 2.375 MiB
#4 Accepted 5ms 2.352 MiB
#5 Accepted 3ms 2.348 MiB
#6 Accepted 25ms 4.375 MiB
#7 Accepted 13ms 2.375 MiB
#8 Accepted 19ms 2.461 MiB
#9 Accepted 61ms 4.582 MiB
#10 Accepted 166ms 5.578 MiB

信息

递交者
类型
递交
题目
#7 区间平均++
语言
C++
递交时间
2018-09-13 09:48:51
评测时间
2018-09-13 09:48:51
评测机
分数
100
总耗时
308ms
峰值内存
5.578 MiB