04 2015 档案
摘要:Modular InverseTime Limit:2 Seconds Memory Limit:65536 KBThe modular modular multiplicative inverse of an integeramodulomis an integerxsuch thata-1≡x(...
阅读全文
摘要:Problem C: Catalan SquareTime Limit:1 SecMemory Limit:128 MBSubmit:42Solved:16[Submit][Status][Web Board]DescriptionInputOutputSample Input0Sample Out...
阅读全文
摘要:Contest2075 - 湖南多校对抗赛(2015.04.26), Clock Pictures,csu1581,kmp
阅读全文
摘要:Contest2075 - 湖南多校对抗赛(2015.04.26),Opening Ceremony,贪心
阅读全文
摘要:Earthstone Keeper,Convert QWERTY to Dvorak,Capture the Flag,Demacia of the Ancients
阅读全文
摘要:Floor FunctionTime Limit:10 Seconds Memory Limit:65536 KBa,b,canddare all positive integers which satisfybc-ad> 0. Your task is to minimize the follow...
阅读全文
摘要:Ace of AcesTime Limit:2 Seconds Memory Limit:65536 KBThere is a mysterious organization calledTime-Space Administrative Bureau(TSAB) in the deep unive...
阅读全文
摘要:C. KiteTime Limit:1000ms Case Time Limit:1000ms Memory Limit:65536KBVova bought a kite construction kit in a market in Guangzhou. The next day the wea...
阅读全文
摘要:That Nice Euler CircuitTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionLittle Joey invented a scrabble machine that he called E...
阅读全文
摘要:题意:Morley定理,求D、E、F的坐标 思路:没什么算法,就是几何的应用。注意旋转角就好了。转载请注明出处:寻找&星空の孩子题目链接:UVA11178 1 #include 2 #include 3 #define PI acos(-1.0) 4 using namespace std; 5 ...
阅读全文
摘要:Cylinder CandyTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward the confectioner is making a new batch of chocolate covered candy. Each...
阅读全文
摘要:Cylinder CandyTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward the confectioner is making a new batch of chocolate covered candy. Each...
阅读全文
摘要:#include#include#includeusing namespace std;int next[50005];char s[50005],t[50005];void getnext()//next[]数组,next[j]的值表示P[0...j-1]中最长后缀的长度等于相同字符序列的前缀。{...
阅读全文
摘要:1566: The Maze MakersTime Limit:1 SecMemory Limit:128 MBSubmit:90Solved:33[Submit][Status][Web Board]DescriptionThe Maze Makers is a publisher of puzz...
阅读全文
摘要:Contest2073 - 湖南多校对抗赛(2015.04.06)Problem A: (More) MultiplicationTime Limit:1 SecMemory Limit:128 MBSubmit:85Solved:47[Submit][Status][Web Board]Descr...
阅读全文
摘要:历届试题 高僧斗法 时间限制:1.0s 内存限制:256.0MB问题描述 古时丧葬活动中经常请高僧做法事。仪式结束后,有时会有“高僧斗法”的趣味节目,以舒缓压抑的气氛。 节目大略步骤为:先用粮食(一般是稻米)在地上“画”出若干级台阶(表示N级浮屠)。又有若干小和尚随机地“站”在某个台阶上。最...
阅读全文
摘要:历届试题 买不到的数目 时间限制:1.0s 内存限制:256.0MB问题描述小明开了一家糖果店。他别出心裁:把水果糖包成4颗一包和7颗一包的两种。糖果不能拆包卖。小朋友来买糖的时候,他就用这两种包装来组合。当然有些糖果数目是无法组合出来的,比如要买 10 颗糖。你可以用计算机测试一下,在这种包装...
阅读全文
摘要:历届试题 矩阵翻硬币 时间限制:1.0s 内存限制:256.0MB问题描述 小明先把硬币摆成了一个 n 行 m 列的矩阵。 随后,小明对每一个硬币分别进行一次 Q 操作。 对第x行第y列的硬币进行 Q 操作的定义:将所有第 i*x 行,第 j*y 列的硬币进行翻转。 其中i和j为任意使操作...
阅读全文
摘要:算法训练 前缀表达式 时间限制:1.0s 内存限制:512.0MB问题描述 编写一个程序,以字符串方式输入一个前缀表达式,然后计算它的值。输入格式为:“运算符 对象1 对象2”,其中,运算符为“+”(加法)、“-”(减法)、“*”(乘法)或“/”(除法),运算对象为不超过10的整数,它们之间用一...
阅读全文
摘要:最长子串Time Limit:3000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 2128Description问题很简单,给你一个字符串s,问s的子串中不包含s1,s2...sn的最长串有多长...
阅读全文

浙公网安备 33010602011771号