#define 甲 A
#define 乙 B
#define 无赖 0
#define 骑士 1
main()
{
if ((A == 0 | B == 1) == false) { /* A = 0 */
A = 1;
B = 0;
exit(0);} /* wrong */
else
if (A == 0) exit(0); /* A = 1 wrong */
else if (A == 1) B = 0; /* A = 1 & B = 0 wrong */
else B = 1 /* A = 1 & B = 1 right */
}
所以甲是骑士,乙是骑士。
[ 此贴被fujingdcn在2006-06-14 21:02重新编辑 ]