/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void Bellman_Ford(long long int)':
foo.cc:28:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |         for(ll k=0; k<q.size(); k++){//遍历所有点
      |                     ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:54:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   54 |     scanf("%lld %lld %lld",&n,&s,&m);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   57 |         scanf("%lld %lld %lld",&x,&y,&z);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 512.0 KiB
#2 Accepted 2ms 512.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 2ms 512.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 13ms 2.207 MiB
#7 Accepted 14ms 2.262 MiB
#8 Accepted 854ms 3.488 MiB
#9 Accepted 48ms 3.613 MiB
#10 Time Exceeded ≥1100ms ≥3.117 MiB

信息

递交者
类型
递交
题目
P1321 魔塔
语言
C++
递交时间
2022-07-20 15:14:34
评测时间
2022-07-20 15:14:34
评测机
分数
90
总耗时
≥2044ms
峰值内存
≥3.613 MiB