上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: #include using namespace std; #define ll long long const int maxn=1e6+5; long long n,s1=0,s2=0,a1=0,a2=0,c; int main() { scanf("%lld",&n); for(int i=1;i0) { a1++; ... 阅读全文
posted @ 2019-10-09 22:22 __MEET 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 佐助被大蛇丸诱骗走了,鸣人在多少时间内能追上他呢? 已知一张地图(以二维矩阵的形式表示)以及佐助和鸣人的位置。地图上的每个位置都可以走到,只不过有些位置上有大蛇丸的手下,需要先打败大蛇丸的手下才能到这些位置。鸣人有一定数量的查克拉,每一个单位的查克拉可以打败一个大蛇丸的手下。假设鸣人可以往上下左右四 阅读全文
posted @ 2019-10-08 23:20 __MEET 阅读(145) 评论(0) 推荐(0) 编辑
摘要: You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Be 阅读全文
posted @ 2019-10-07 21:08 __MEET 阅读(177) 评论(0) 推荐(0) 编辑
摘要: DNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of four different nucleotides, namely Adenine, Thymine 阅读全文
posted @ 2019-10-07 21:07 __MEET 阅读(157) 评论(0) 推荐(0) 编辑
摘要: A character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of length k. For example, t 阅读全文
posted @ 2019-10-07 21:06 __MEET 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N (1 阅读全文
posted @ 2019-10-07 21:04 __MEET 阅读(153) 评论(0) 推荐(0) 编辑
摘要: An organic compound is any member of a large class of chemical compounds whose molecules contain carbon. The molar mass of an organic compound is the 阅读全文
posted @ 2019-10-07 21:03 __MEET 阅读(380) 评论(0) 推荐(0) 编辑
摘要: There is an objective test result such as “OOXXOXXOOO”. An ‘O’ means a correct answer of a problem and an ‘X’ means a wrong answer. The score of each 阅读全文
posted @ 2019-10-07 21:02 __MEET 阅读(797) 评论(0) 推荐(0) 编辑
摘要: Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popula 阅读全文
posted @ 2019-10-07 21:00 __MEET 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in t 阅读全文
posted @ 2019-10-07 20:59 __MEET 阅读(218) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页