• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

tle

poj1789 Kruskal 알고리즘, TLE 7번, 어쩔 수 없이 코드를 복제합니다.참조 후에도 TLE, 불신, 제출 부착, 750MS 통과

#include <iostream> #include <fstream> #include <string> #include <algorithm> using namespace std; #define MAX 2005 char str[MAX][8]; int n,father[MAX],rank[MAX],k;//k为边数 struct node{ int st; int en; int we; }edge[MAX*MA...

kruskal 알고리즘tlepoj1789

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more