/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:64:11: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   64 |     cout<<ans<<endl;
      |           ^~~
/in/foo.cc:17:13: note: 'ans' was declared here
   17 |     int i,j,ans,now,next;
      |             ^~~
/in/foo.cc:29:14: warning: 'next' may be used uninitialized [-Wmaybe-uninitialized]
   29 |     while(now!=n)
      |           ~~~^~~
/in/foo.cc:17:21: note: 'next' was declared here
   17 |     int i,j,ans,now,next;
      |                     ^~~~
# 状态 耗时 内存占用
#1 Accepted 65ms 2.848 MiB
#2 Accepted 170ms 4.352 MiB
#3 Accepted 4ms 816.0 KiB
#4 Accepted 165ms 4.316 MiB
#5 Accepted 9ms 1.168 MiB
#6 Accepted 141ms 4.066 MiB
#7 Accepted 6ms 996.0 KiB
#8 Accepted 23ms 1.789 MiB
#9 Accepted 10ms 1.305 MiB
#10 Accepted 126ms 3.805 MiB

信息

递交者
类型
递交
题目
P1635 城市连接
语言
C++
递交时间
2025-10-09 20:21:03
评测时间
2025-10-09 20:21:03
评测机
分数
100
总耗时
724ms
峰值内存
4.352 MiB