/ 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 13ms 13.0 MiB
#2 Accepted 13ms 13.0 MiB
#3 Accepted 19ms 13.125 MiB
#4 Accepted 18ms 13.086 MiB
#5 Accepted 18ms 13.125 MiB
#6 Accepted 18ms 13.125 MiB
#7 Accepted 31ms 13.496 MiB
#8 Accepted 30ms 13.617 MiB
#9 Accepted 46ms 13.742 MiB
#10 Accepted 46ms 13.617 MiB

信息

递交者
类型
递交
题目
P1404 遭遇战
语言
C++
递交时间
2022-07-20 15:37:17
评测时间
2022-07-20 15:37:17
评测机
分数
100
总耗时
258ms
峰值内存
13.742 MiB