/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'bool bfs(int, int)':
foo.cc:5:13: warning: overflow in implicit constant conversion [-Woverflow]
 #define INF (long long)(1e18)
             ^~~~~~~~~~~~~~~~~
foo.cc:21:10: note: in expansion of macro 'INF'
   dep[i]=INF;
          ^~~
foo.cc: In function 'int main()':
foo.cc:5:13: warning: overflow in implicit constant conversion [-Woverflow]
 #define INF (long long)(1e18)
             ^~~~~~~~~~~~~~~~~
foo.cc:15:29: note: in definition of macro '_add'
 #define _add(x,y,v) add(x,y,v),add(y,x,0)
                             ^
foo.cc:64:14: note: in expansion of macro 'INF'
   _add(x,n+1,INF);
              ^~~
foo.cc:58:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&x,&y,&z);
   ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:63:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&x);
   ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1471ms ≥440.0 KiB
#2 Time Exceeded ≥1465ms ≥404.0 KiB
#3 Time Exceeded ≥1429ms ≥436.0 KiB
#4 Time Exceeded ≥1429ms ≥444.0 KiB
#5 Time Exceeded ≥1464ms ≥432.0 KiB
#6 Time Exceeded ≥1465ms ≥376.0 KiB
#7 Time Exceeded ≥1464ms ≥436.0 KiB
#8 Time Exceeded ≥1465ms ≥436.0 KiB
#9 Time Exceeded ≥1454ms ≥428.0 KiB
#10 Time Exceeded ≥1466ms ≥432.0 KiB

信息

递交者
类型
递交
题目
P1524 最小监视代价
语言
C++
递交时间
2021-11-08 09:34:20
评测时间
2021-11-08 09:34:20
评测机
分数
0
总耗时
≥14577ms
峰值内存
≥444.0 KiB