Star0 Code Pull requests Actions Projects Security Insights Additional navigation options Files master Sign in to see the full file tree. 1360A-MinimalSquare.cpp Breadcrumbs CodeForces / Latest commit Cannot retrieve latest commit at this time. ...
codeforces A. Minimal Square 题目 题意: 给你两个个a∗ba∗b的矩形,问你最小多大的正方形可以包括这两个矩形。 思路: 刚开始只有一个矩形的时候,我们肯定看最大的那条边,有两个矩形的时候,肯定事最短的两条边放在一起,所以比较就行,ans=max(min(a,b)∗2,max(a,b))2ans=max(min(a,b)∗...
1360A-MinimalSquare.cpp 1360B-HonestCoach.cpp 1360C-SimilarPairs.cpp 1360D-BuyingShovels.cpp 1360E-Polygon.cpp 1360F-SpyString.cpp 1360G-ABMatrix.cpp 1360H-BinaryMedian.cpp 1362A-JohnnyAndAncientComputer.cpp 1362B-JohnnyAndHisHobbies.cpp 1362C-JohnnyAndAnotherRatingDrop.cpp 1363A-OddSelection.cp...