/ 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 13ms 2.617 MiB
#2 Accepted 6ms 2.625 MiB
#3 Accepted 9ms 2.625 MiB
#4 Accepted 9ms 2.625 MiB
#5 Accepted 10ms 2.625 MiB
#6 Accepted 10ms 2.75 MiB
#7 Accepted 14ms 2.75 MiB
#8 Accepted 14ms 2.75 MiB
#9 Accepted 4ms 2.625 MiB
#10 Accepted 5ms 2.625 MiB

信息

递交者
类型
递交
题目
P1411 Dejected Birthday-允诺
语言
C++
递交时间
2022-04-15 09:23:43
评测时间
2022-04-15 09:23:43
评测机
分数
100
总耗时
100ms
峰值内存
2.75 MiB