/ 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 2ms 512.0 KiB
#2 Accepted 2ms 512.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 2ms 640.0 KiB
#5 Accepted 1ms 512.0 KiB
#6 Accepted 12ms 2.496 MiB
#7 Accepted 29ms 2.617 MiB
#8 Accepted 858ms 4.113 MiB
#9 Accepted 20ms 4.113 MiB
#10 Time Exceeded ≥1065ms ≥3.742 MiB

信息

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