本文发表在 rolia.net 枫下论坛A = {1, 2, 3, 4}
B = {5, 6, 7, 8}
C = {9, 10, 11, 12, 13}
if (A == B) (1)
{
answer in 9, 10, 11, 12, 13
D = {1, 9, 10}
E = {2, 5, 11}
if (D == E) (2)
{
answer in 12 or 13
if (1 == 12) (3)
answer is 13
else (3)
answer is 12
}
else (2)
{
answer in 9 or 10 or 11
if (9 == 10) (3)
{
answer is 11
}
else (3)
{
answer is 9 or 10
if (D > E) (2)
{
if (9 > 10) (3)
answer is 9 because D > E
else (3)
answer is 10 because D > E
}
else (2)
{
same as D > E
}
}
}
}
else (1)
{
if (A > B) (1)
{
F = {1, 5, 6}
G = {2, 7, 9}
if (F == G) (2)
{
answer in 3 or 4 or 8
if (3 == 4) (3)
answer is 8
else if (3 > 4) (3)
answer is 3 because A > B
else (3)
answer is 4 because A > B
}
else if (F > G) (2)
{
answer in 1 or 7, same as above answer in 12 or 13
}
else (2)
{
answer in 2 or 5 or 6, same as above answer in 9, 10, 11
}
}
else (1)
{
same as A > B
}
}更多精彩文章及讨论,请光临枫下论坛 rolia.net
B = {5, 6, 7, 8}
C = {9, 10, 11, 12, 13}
if (A == B) (1)
{
answer in 9, 10, 11, 12, 13
D = {1, 9, 10}
E = {2, 5, 11}
if (D == E) (2)
{
answer in 12 or 13
if (1 == 12) (3)
answer is 13
else (3)
answer is 12
}
else (2)
{
answer in 9 or 10 or 11
if (9 == 10) (3)
{
answer is 11
}
else (3)
{
answer is 9 or 10
if (D > E) (2)
{
if (9 > 10) (3)
answer is 9 because D > E
else (3)
answer is 10 because D > E
}
else (2)
{
same as D > E
}
}
}
}
else (1)
{
if (A > B) (1)
{
F = {1, 5, 6}
G = {2, 7, 9}
if (F == G) (2)
{
answer in 3 or 4 or 8
if (3 == 4) (3)
answer is 8
else if (3 > 4) (3)
answer is 3 because A > B
else (3)
answer is 4 because A > B
}
else if (F > G) (2)
{
answer in 1 or 7, same as above answer in 12 or 13
}
else (2)
{
answer in 2 or 5 or 6, same as above answer in 9, 10, 11
}
}
else (1)
{
same as A > B
}
}更多精彩文章及讨论,请光临枫下论坛 rolia.net