记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:79:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   79 | #define _for(i, a, b) for ( int i = (a); i < (b); ++i)
      |                                            ^
foo.cc:121:17: note: in expansion of macro '_for'
  121 |                 _for(i,0,X.second.size()-1)
      |                 ^~~~
foo.cc:105:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  105 |         scanf("%d%d%d",&N,&M,&T);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:109:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  109 |                 scanf("%d%d",&ts,&id);
      |                 ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 396.0 KiB
#4 Accepted 7ms 640.0 KiB
#5 Accepted 6ms 640.0 KiB
#6 Accepted 15ms 768.0 KiB
#7 Accepted 17ms 768.0 KiB
#8 Accepted 20ms 768.0 KiB
#9 Accepted 30ms 1.0 MiB
#10 Accepted 30ms 1.0 MiB

信息

递交者
类型
递交
题目
P1329 外卖店优先级
比赛
2022春季 荣誉练习赛1(2019蓝桥A组省赛重温)
语言
C++
递交时间
2022-03-19 20:16:22
评测时间
2022-03-19 20:16:22
评测机
分数
100
总耗时
135ms
峰值内存
1.0 MiB