/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   39 |         for (int j=0;j<a[i].size();j++) {
      |                      ~^~~~~~~~~~~~
foo.cc:29:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   29 |     scanf("%d%d%d",&n,&s,&e);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:31:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |         scanf("%d%d%d",&b[i].l,&b[i].r,&b[i].v);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 14ms 13.074 MiB
#2 Accepted 15ms 13.0 MiB
#3 Accepted 18ms 13.125 MiB
#4 Accepted 28ms 13.0 MiB
#5 Accepted 17ms 13.125 MiB
#6 Accepted 20ms 13.125 MiB
#7 Accepted 35ms 13.375 MiB
#8 Accepted 25ms 13.5 MiB
#9 Accepted 23ms 13.5 MiB
#10 Accepted 24ms 13.5 MiB

信息

递交者
类型
递交
题目
P1404 遭遇战
语言
C++
递交时间
2021-12-16 19:21:00
评测时间
2021-12-16 19:21:00
评测机
分数
100
总耗时
225ms
峰值内存
13.5 MiB