摘要: 呵呵。大家都知道五服以内不得通婚,即两个人最近的共同祖先如果在五代以内(即本人、父母、祖父母、曾祖父母、高祖父母)则不可通婚。本题就请你帮助一对有情人判断一下,他们究竟是否可以成婚? 输入格式: 输入第一行给出一个正整数N(2 ≤ N ≤),随后N行,每行按以下格式给出一个人的信息: 本人ID 性别 阅读全文
posted @ 2021-04-07 23:37 lipu123 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Caesar has been betrayed! He always thought his best friends were the senators of Rome, but it turns out they are trying to kill him. Even his best fr 阅读全文
posted @ 2021-04-07 23:25 lipu123 阅读(33) 评论(0) 推荐(0) 编辑