#include<stdio.h> int a[1001]; int fin(int x) { int t; t=x; while(a[t]!=t) t=a[t]; return t; } void gongcheng(int x,int y) { int x1,y1; x1=fin(x); y1=fin(y); if
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 22578 Accepted Submission(s): 11788 Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 37704 Accepted Submission(s): 19961 Problem Description 某省调查城镇交通状况,得到现有城镇道
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25571 Accepted Submission(s): 13363 Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 42249 Accepted Submission(s): 22420 Problem Description 某省调查城镇交通状况,得到现有城镇道路统计
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 40917 Accepted Submission(s): 21711 Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直