{ 3
int result1 = 0, result2 = 0, result3 = 0; 4
//N<1的case 5
int[,] case1 =
{
{ 0, 0 },
{ 9999, 0 },
{ -888, 0 },
{ 1111, -888 },
{ 0, -1 },
{ -100, -99 } }; 6
for (int i = 0; i < 6; i++) 7
{ 8
int Max = case1[i, 0]; 9
int N = case1[i, 1]; 10
文章来源于领测软件测试网 https://www.ltesting.net/