In C++, can a class without construtor compile? What will be automatic generated by the compiler for a class? What's the difference between pointer and reference?
Sigiloso
Given n stars in the galaxy and a distant d, if the distance between two starts are smaller then d, they are in the same group. Count the total number of groups in the galaxy.