随笔分类 - ACM-zoj
浙大acm
摘要:One Person GameTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3593DescriptionThere is an interesting and...
阅读全文
摘要:Modular InverseTime Limit:2 Seconds Memory Limit:65536 KBThe modular modular multiplicative inverse of an integeramodulomis an integerxsuch thata-1≡x(...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:EvolutionTime Limit:5 Seconds Memory Limit:32768 KBDescriptionEvolution is a long, long process with extreme complexity and involves many species. Dr....
阅读全文
摘要:Crazy Shopping(拓扑排序+完全背包)Because of the 90th anniversary of theCoherent & Cute Patchouli(C.C.P),Kawashiro Nitoridecides to buy a lot of rare things to...
阅读全文
摘要:Math MagicTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusDescriptionYesterday, my teacher taught us about math: +, -, *, ...
阅读全文
摘要:MedianTime Limit: 5 Seconds Memory Limit: 65536 KBThe median of m numbers is after sorting them in order, the middle one number of them if m is even o...
阅读全文
摘要:Inviting FriendsTime Limit: 1 Second Memory Limit: 32768 KBYou want to hold a birthday party, inviting as many friends as possible, but you have to pr...
阅读全文
摘要:Factorial Problem in Base KTime Limit: 2 Seconds Memory Limit: 65536 KBHow many zeros are there in the end of s! if both s and s! are written in base ...
阅读全文
摘要:Beans GameTime Limit: 5 Seconds Memory Limit: 32768 KBThere are three piles of beans. TT and DD pick any number of beans from any pile or the same num...
阅读全文
摘要:Incircle and CircumcircleTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeA triangle is one the basic shapes in geometry. It's a polygon with...
阅读全文
摘要:135 - ZOJ Monthly, August 2014A:构造问题,判断序列奇偶性,很容易发现最小值不是1就是0,最大值不是n就是n - 1,注意细节去构造即可E:dp,dp[i][j]表示长度i,末尾状态为j的最大值,然后每个位置数字取与不取,不断状态转移即可G:就一个模拟题没什么好说的H:...
阅读全文
摘要:Magic Number (zoj3622)Time Limit : 4000/2000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 21 Accepted Submission(s) : ...
阅读全文