Pro.ID1518 TitleMJ, Nowhere to Hide Title链接http://10.20.2.8/oj/exercise/problem?problem_id=1518 AC9 Submit16 Ratio56.25% 时间&空间限制描述On BBS, there is a familiar term called MJ (short for MaJia), which means another BBS ID of one person besides his/her main ID. These days, a lot of ACMers pour water on the ACMICPC Board of argo. Mr. Guo is very angry about that and he wants to punish these guys. ACMers are all smart boys/girls, right? They usually use their MJs while pouring water, so Mr. Guo can not tell all the IDs apart. Unfortunately, the IP can not be changed, i.e, the posts of main ID and MJ of the same person has the same IP address, meanwhile, the IP addresses of different person is different. Assuming that each person has exactly one main ID and one MJ, by reading their posts on BBS, you then tell Mr. Guo whom each MJ belongs to. 输入The first line of each test cases is an even integer n ( 0 ≤ n ≤ 20 ), the number of posts on BBS. 输出Description On BBS, there is a familiar term called MJ (short for MaJia), which means another BBS ID of one person besides his/her main ID. These days, a lot of ACMers pour water on the ACMICPC Board of argo. Mr. Guo is very angry about that and he wants to punish these guys. ACMers are all smart boys/girls, right? They usually use their MJs while pouring water, so Mr. Guo can not tell all the IDs apart. Unfortunately, the IP can not be changed, i.e, the posts of main ID and MJ of the same person has the same IP address, meanwhile, the IP addresses of different person is different. Assuming that each person has exactly one main ID and one MJ, by reading their posts on BBS, you then tell Mr. Guo whom each MJ belongs to. Input The first line of each test cases is an even integer n ( 0 ≤ n ≤ 20 ), the number of posts on BBS. Output For each test case, output n/2 lines of the following format: "MJ_ID is the MaJia of main_ID" Sample Input 8 Sample Output tomek is the MaJia of iamcs 样例输入8 样例输出tomek is the MaJia of iamcs 提示作者 |