????1.????????????????

??????е????????????????к???????????????4??6??13??8......????????2?У???3??????????????????????й?????????????????У???2?У???3???????????????????????4?в?????????????????2??3????????ж???????????????????????2??3??4???????????????????????????????????????????????????????

????2.??????????

??????????????????????????????д??????????????????????????·???????

??????????????????????——??????

??????????????????????????????????????????????????????????????????????????·???????????????????????????ε????????????硣
?????????V??G??=E+N+2??E??????б????????N??????н?????????

?????????????V??G??=P+1 ??P?????G???ж???????????

??????????????????ж?????????????????ò??????????????????????????????20?????????????????????????????????????????ν????????????????????CMMI5?????????????й漲?????

?????????????????????

????V??G??=10????-8???+2=4
????V??G??=3???ж????+1=4

?????????????????4?????????????????????????????????????????4???????????????????·???????

????3.???????????·????

??????????????????????д4????????????????????????4????????????

???????????????·??????????????·???????????????

???????????·????????????·??????????????????????????κε?·???????????????·????????e???????????·??????????????????????????????????????????
???????????????????????4??24?м???·?????

????1 B??4??24??
????2 C??E??J??4??6??8??24??
????3 C??D??F??H??A??B??4??6??13??15??22??4??24??
????4 C??D??G??I??A??B??4??6??13??19??22??4??24??

????????????

????5 C??D??C??I??A??C??E??J??4??6??13??19??22??4??6??8??24??????

?????????????????????4??·??????????????е?????5??·???????????????ù??????????е?·?????????????

?????????????????????4??????????·?????????·?????????????????????

????1 B??4??24??
?????????????i_flag=0????????i_flag<0?????????
???????????i_temp=0.

????2 C??E??J??4??6??8??24??
????????????? i_count =1; i_flag=0
???????????i_temp=101.

????3 C??D??F??H??A??B??4??6??13??15??22??4??24??
????????????? i_count =1; i_flag=1
???????????i_temp=10.

????4 C??D??G??I??A??B??4??6??13??19??22??4??24??
????????????? i_count =1; i_flag=2
???????????i_temp=20.

?????????????????????·?????????????????????????????????????????е?????????????????е?????

?????????????

????????????????е??3?С?

????int i_temp=0; ???翪????????С??д??????????int i_temp=1; ?????????????????????????????????????????????????????????????????塣

??????????????????????????4??????????????????????Щ????????????????????????????????????

???????????? ·?? 1 B??4??24???? 4 C??D??G??I??A??B??4??6??13??19??22??4??24????·??1??·??4?????????????1?????????????????????????4?????????????????????????????????????????4???????????????????·?????????????????????????????????????????????4?????????????????????????????????????????????????????????????????????????????

?????????????

???????????????????????ù??????NUNIT??VS2005???????

?????????????????????д??????棬???????????????????????????????????????????????????????????????