:ThedocumentwascreatedwithSpire.PDFfor.NET.\rBC\r#include<iostream>\r#include<ctime>\rusingnamespacestd;\rclasscaipiao\r(\rprivate:\rintzu;\rcharname[20];\rint**haoma;\rpublic:\rvoidset(intp,charn[20],int**a)\rintij;\rzu=p;\rhaoma=newint*[zu];\rfor(i=0;i<zu+l;i++)\rhaoma[i]=newint[7];\rfor(i=0;i<zu+l;i++)\rfor(j=0;j<7;j++)\rhaoma[i][j]=a[i][j];\ri=0;\rwhile(n[i]!='\0')EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rname[i]=n[i];\ri++[\r}\rname[i]='\0';\r)\rvoidcompare()\r(\rinti,yi=O,er=O,san=O;\rfor(i=0;i<zu;i++)\r(\rif(tong(haoma[i])==7)\ryi++;\relseif(tong(haoma[i])==611\rtong(haoma[i])==5)\rer++;\relseif(tong(haoma[i])>=2&&\rtong(haoma[i])<=5)\rsan++;\r}\rif(yi)\rcout<<ÒÇÈ"<<name<<Òx§"<<yi<<