C++:将连续的像元组织成标记的簇 test.hpp test.cpp test.hpp int components_1d ( int n, int a[], int c[] ); int components_2d (