#include #include #include #include #include #include #include #include #include #include using namespace std; struct ver{ string a; string b; string c; ver(char* aa, char* bb, char* cc){ a = string(aa); b = string(bb); c = string(cc); } bool operator==(const ver &x){ if(a != x.a) return false; if(b != x.b) return false; if(c != x.c) return false; return true; } bool operator<(const ver &x){ if(ax.a) return false; else if(bx.b) return false; else if(c