/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(long long j=0;j<=vec[i].size()-1;j++){
                     ~^~~~~~~~~~~~~~~~~
foo.cc:44:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      while(((L-i+1)+1)/2<q.size()){
            ~~~~~~~~~~~~~^~~~~~~~~
foo.cc:52:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      while(((L-i+1)+1)/2>q.size()){
            ~~~~~~~~~~~~~^~~~~~~~~
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld%lld",&n,&m);
  ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:14:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(long long i=1;i<=n;i++)scanf("%lld",&a[i]);
                             ~~~~~^~~~~~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld%lld",&l,&r);
   ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 6ms 460.0 KiB
#6 Accepted 42ms 1.516 MiB
#7 Accepted 48ms 2.176 MiB
#8 Accepted 54ms 2.562 MiB
#9 Accepted 33ms 3.609 MiB
#10 Accepted 75ms 4.48 MiB

信息

递交者
类型
递交
题目
P1459 车展
语言
C++
递交时间
2021-10-25 19:07:28
评测时间
2021-10-25 19:07:28
评测机
分数
100
总耗时
271ms
峰值内存
4.48 MiB