/ Vijos /

记录详情

Accepted

foo.cc: In function 'int dijkstra(int)':
foo.cc:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |         for(int i=0;i<g[f.x].size();i++)
      |                     ~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |     scanf("%d:%d",&hour,&mine);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:32:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   32 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:35:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   35 |         scanf("%d%d%d",&u,&v,&w);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:40:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   40 |     scanf("%d%c",&t,&ch);
      |     ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 2.625 MiB
#2 Accepted 11ms 2.625 MiB
#3 Accepted 4ms 2.625 MiB
#4 Accepted 9ms 2.625 MiB
#5 Accepted 3ms 2.625 MiB
#6 Accepted 4ms 2.637 MiB
#7 Accepted 6ms 2.625 MiB
#8 Accepted 6ms 2.75 MiB
#9 Accepted 8ms 2.625 MiB
#10 Accepted 9ms 2.625 MiB

信息

递交者
类型
递交
题目
P1411 Dejected Birthday-允诺
语言
C++
递交时间
2021-12-16 19:23:50
评测时间
2021-12-16 19:23:50
评测机
分数
100
总耗时
69ms
峰值内存
2.75 MiB