10 2015 档案
摘要:Problem DescriptionXY is playing a game:there are N pillar in a row,which numbered from 1 to n.Each pillar has a jewel.Now XY is standing on the S-th ...
阅读全文
摘要:Problem DescriptionThere are n numbers A1,A2....An{A}_{1},{A}_{2}....{A}_{n}A1,A2....An,your task is to check whether there exists there diff...
阅读全文
摘要:Problem DescriptionIn the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature t...
阅读全文
摘要:春天到了,师大的园丁们又开始忙碌起来了. 京师广场上有一块空地,边界围成了一个多边形,内部被划分成一格一格的.园丁们想在这个多边形内的每一格内种植一些花. 现在请你帮忙计算一下一共最多可以种多少花. 广场用一个M*N的字符数组表示,"."和"*"代表一个方格,其中"*"代表空地的边界,"."是空格,...
阅读全文
摘要:题解 题目1001 GT and sequence注意先特判000的情况:如果读入的数据有000,那么去掉所有的000且最后答案和000取一个max。剩下的正数显然全部乘起来比较优。对于负数的话,如果个数是奇数个我们就去掉绝对值最小的那一个,然后全部乘起来即可。1002 GT and numbers...
阅读全文
摘要:Problem DescriptionYou are given two numbers NNN and MMM.Every step you can get a new NNN in the way that multiply NNN by a factor of NNN.Work out how...
阅读全文
摘要:Problem DescriptionYou are given a sequence of NNN integers.You should choose some numbers(at least one),and make the product of them as big as possib...
阅读全文
摘要:XsuagrX喜欢到处唬人,各种唬。这不,经过刻苦修炼,他终于掌握了Bane Element的Ultra绝技加强版,恶魔掌控(快捷键F)(YY中&……)。当XsugarX对某个人胡言乱语Q@# @时,可以控制这个人的行动,并且被完全控制的人会对其他人继续胡言乱语,但是他们只能控制被胡言乱语的人的部分...
阅读全文