/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:64:11: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   64 |     cout<<ans<<endl;
      |           ^~~
foo.cc:17:13: note: 'ans' was declared here
   17 |     int i,j,ans,now,next;
      |             ^~~
foo.cc:29:14: warning: 'next' may be used uninitialized [-Wmaybe-uninitialized]
   29 |     while(now!=n)
      |           ~~~^~~
foo.cc:17:21: note: 'next' was declared here
   17 |     int i,j,ans,now,next;
      |                     ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 144ms 2.645 MiB
#2 Accepted 264ms 4.191 MiB
#3 Accepted 9ms 796.0 KiB
#4 Accepted 306ms 4.094 MiB
#5 Accepted 19ms 1.152 MiB
#6 Accepted 252ms 3.941 MiB
#7 Accepted 6ms 924.0 KiB
#8 Accepted 51ms 1.723 MiB
#9 Accepted 21ms 1.145 MiB
#10 Accepted 241ms 3.77 MiB

信息

递交者
类型
递交
题目
P1635 城市连接
语言
C++
递交时间
2023-08-14 13:32:46
评测时间
2023-08-14 13:32:46
评测机
分数
100
总耗时
1317ms
峰值内存
4.191 MiB