/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:19:15: warning: comparison of integer expressions of different signedness: 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   19 |    if(Q.size()==i)
      |       ~~~~~~~~^~~
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d%d",&n,&m);
      |  ~~~~~^~~~~~~~~~~~~~
foo.cc:11:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 |   scanf("%d",&a[i]);
      |   ~~~~~^~~~~~~~~~~~
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   15 |   scanf("%d",&q);
      |   ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 99ms 3.359 MiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 20ms 1.371 MiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 113ms 3.23 MiB
#6 Accepted 34ms 1.723 MiB
#7 Accepted 1ms 384.0 KiB
#8 Accepted 73ms 1.578 MiB
#9 Accepted 4ms 384.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1466 黑匣子
题目数据
下载
语言
C++
递交时间
2022-08-06 11:56:10
评测时间
2022-08-06 11:56:10
评测机
分数
100
总耗时
357ms
峰值内存
3.359 MiB