摘要: 题意:给出两组数字,第二组数字代表第一组数字中的第几位。求从那一位开始,后面不同的数的个数DescriptionSereja has an arraya, consisting ofnintegersa1,a2,...,an. The boy cannot sit and do nothing, h... 阅读全文
posted @ 2015-02-12 19:50 江豚 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 题意:ekjfkj=output 依此解开密码,得到题意求第n位(本身是素数,同时反过来也是素数的数)题解:打表注意:数组开大,反过来的数不能是自己本身Descriptionqd ucyhf yi q fhycu dkcruh mxeiu huluhiu yi q tyvvuhudj fhycu d... 阅读全文
posted @ 2015-02-12 19:46 江豚 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 题意:给出一组数字,得到区间[1,a1],[a1+1,a1+a2],[a1+a2+1,a1+a2+a3].....再给出一组数字,求这些数字属于第几个区间注意:记得数组开大,容易超时DescriptionIt is lunch time for Mole. His friend, Marmot, p... 阅读全文
posted @ 2015-02-12 19:40 江豚 阅读(154) 评论(0) 推荐(0) 编辑