RT,我某道题写memset(dist,0x3f,sizeof(dist));过不了
改成for(int i=1;i<=n;i++) dist[i]=1e12*1.0;就过了?
for(int i=1;i<=n;i++) dist[i]=1e12*1.0;