记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:32:25: error: 'vv1' was not declared in this scope
   32 |     memset(vis,0,sizeof(vv1));
      |                         ^~~
foo.cc:36:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   36 |     scanf("%d",&nump);
      |     ~~~~~^~~~~~~~~~~~
foo.cc:40:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   40 |         scanf("%d%d%d",&vx,&vy,&v);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:44:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 |     scanf("%d%d",&vh,&ve);
      |     ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
5 城市中的最短路径
语言
C++
递交时间
2022-03-05 20:05:53
评测时间
2022-03-05 20:05:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes