a)
b)primes[]数组越界
c) test case:n=1
d) 节点覆盖:{1,2,3,4,5,6,8,5,6,7,9,10,11,13,12,13,12,14}
边覆盖:{1,2,3,4,5,6,8,5,6,7,9,11,3,4,5,9,10,11,3,12,13,12,14}
主路径覆盖:{1,2,3,4,5,6,8,5,6,8,5,6,7,9,11,3,4,5,6,7,9,10,11,3,4,5,9,11,3,4,5,9,10,11,3,12,13,12,13,12,14}
{1,2,3,12,14} {1,2,3,12,13,12} {1,2,3,4,5,6,7,9,10,11} {1,2,3,4,5,6,7,9,11}
{1,2,3,4,5,9,10,11} {1,2,3,4,5,9,11}
e)实现一个主路径覆盖。