/ Vijos /

记录详情

Accepted

foo.cc:18: warning: "LONG_LONG_MIN" redefined
   18 | #define LONG_LONG_MIN -9223372036854775808ll
      | 
In file included from foo.cc:5:
/usr/lib/gcc/x86_64-linux-gnu/9/include/limits.h:152: note: this is the location of the previous definition
  152 | # define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
      | 
foo.cc:19: warning: "LONG_LONG_MAX" redefined
   19 | #define LONG_LONG_MAX 9223372036854775807ll
      | 
In file included from foo.cc:5:
/usr/lib/gcc/x86_64-linux-gnu/9/include/limits.h:154: note: this is the location of the previous definition
  154 | # define LONG_LONG_MAX __LONG_LONG_MAX__
      | 
foo.cc: In function 'int main()':
foo.cc:99:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   99 | for(int i = 0; i < a.size(); ++i){
      |                ~~^~~~~~~~~~
foo.cc:68:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   68 | scanf("%d%d%d",&n,&m,&q); len = n;
      | ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:70:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   70 | scanf("%d%d",&g[i].x,&g[i].y);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:134:10: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  134 | p[++len] = ans;
      | ~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 15ms 11.875 MiB
#2 Accepted 14ms 11.875 MiB
#3 Accepted 15ms 11.875 MiB
#4 Accepted 15ms 11.875 MiB
#5 Accepted 21ms 11.875 MiB
#6 Accepted 15ms 11.875 MiB
#7 Accepted 15ms 12.25 MiB
#8 Accepted 14ms 12.25 MiB
#9 Accepted 14ms 12.25 MiB
#10 Accepted 15ms 12.125 MiB
#11 Accepted 129ms 15.859 MiB
#12 Accepted 131ms 15.73 MiB
#13 Accepted 522ms 25.102 MiB
#14 Accepted 492ms 24.852 MiB
#15 Accepted 435ms 27.418 MiB
#16 Accepted 447ms 27.602 MiB
#17 Accepted 189ms 17.359 MiB
#18 Accepted 168ms 17.234 MiB
#19 Accepted 585ms 28.105 MiB
#20 Accepted 572ms 28.277 MiB

信息

递交者
类型
递交
题目
P2033 列队
语言
C++
递交时间
2022-04-11 18:02:32
评测时间
2022-04-11 19:01:11
评测机
分数
100
总耗时
3833ms
峰值内存
28.277 MiB