摘要:
题目描述 "OK, you are not too bad, em... But you can never pass the next test." feng5166 says."I will tell you an odd number N, and then N integers. There 阅读全文
posted @ 2018-07-17 12:00
RhythmLian
阅读(135)
评论(0)
推荐(0)
摘要:
题目描述 我知道部分同学最近在看中国剩余定理,就这个定理本身,还是比较简单的:假设m1,m2,…,mk两两互素,则下面同余方程组:x≡a1(mod m1)x≡a2(mod m2)…x≡ak(mod mk)在0<=<m1m2…mk内有唯一解。记Mi=M/mi(1<=i<=k),因为(Mi,mi)=1, 阅读全文
posted @ 2018-07-17 11:55
RhythmLian
阅读(151)
评论(0)
推荐(0)
摘要:
题目描述 求在小于等于N的正整数中有多少个X满足:X mod a[0] = b[0], X mod a[1] = b[1], X mod a[2] = b[2], …, X mod a[i] = b[i], … (0 < a[i] <= 10)。 输入 输入数据的第一行为一个正整数T,表示有T组测试 阅读全文
posted @ 2018-07-17 11:51
RhythmLian
阅读(184)
评论(0)
推荐(0)
摘要:
题目描述 Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emo 阅读全文
posted @ 2018-07-17 11:49
RhythmLian
阅读(168)
评论(0)
推荐(0)
摘要:
题目描述 Takahashi loves numbers divisible by 2.You are given a positive integer N. Among the integers between 1 and N (inclusive), find the one that can 阅读全文
posted @ 2018-07-17 11:16
RhythmLian
阅读(262)
评论(0)
推荐(0)
摘要:
题目描述 In Takahashi Kingdom, there is an archipelago of N islands, called Takahashi Islands. For convenience, we will call them Island 1, Island 2, ..., 阅读全文
posted @ 2018-07-17 11:12
RhythmLian
阅读(225)
评论(0)
推荐(0)
摘要:
题目描述 Fennec and Snuke are playing a board game.On the board, there are N cells numbered 1 through N, and N−1 roads, each connecting two cells. Cell ai 阅读全文
posted @ 2018-07-17 11:05
RhythmLian
阅读(202)
评论(0)
推荐(0)
摘要:
题目描述 Snuke and Raccoon have a heap of N cards. The i-th card from the top has the integer ai written on it.They will share these cards. First, Snuke w 阅读全文
posted @ 2018-07-17 10:58
RhythmLian
阅读(244)
评论(0)
推荐(0)
摘要:
题目描述 Snuke is giving cookies to his three goats.He has two cookie tins. One contains A cookies, and the other contains B cookies. He can thus give A c 阅读全文
posted @ 2018-07-17 10:55
RhythmLian
阅读(302)
评论(0)
推荐(0)
摘要:
题目描述 只要一个字符串中包含大写“GLB”,高老板就认为这是一个GLB串。现在给你一些字符串,请你帮高老板判断这些字符串是不是GLB串。 只要一个字符串中包含大写“GLB”,高老板就认为这是一个GLB串。现在给你一些字符串,请你帮高老板判断这些字符串是不是GLB串。 只要一个字符串中包含大写“GL 阅读全文
posted @ 2018-07-17 02:00
RhythmLian
阅读(549)
评论(1)
推荐(0)

浙公网安备 33010602011771号