/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void work_1(int)':
foo.cc:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |     for (int i=1;i<a[now].s.size();i++)
      |                  ~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:41:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   41 |             scanf("%d%d",&a[i].v,&s_n);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:44:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 |                 scanf("%d",&a[i].s[j]);
      |                 ~~~~~^~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 6ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 5ms 384.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 5ms 512.0 KiB
#8 Accepted 69ms 1.0 MiB
#9 Time Exceeded ≥1100ms ≥8.25 MiB
#10 Accepted 937ms 4.742 MiB

信息

递交者
类型
递交
题目
P1642 班长的任务
语言
C++
递交时间
2022-04-10 21:39:38
评测时间
2022-04-10 21:39:38
评测机
分数
90
总耗时
≥2139ms
峰值内存
≥8.25 MiB