A.CuttingBanner枚举切掉中间部分匹配[crayon-674300c11b9cf415897386/]B.QuasiBinary用最少的只包含01的数凑出n每次贪心在非0位上取1[crayon-674300c11b9db296649782/]C.Tourist'sNotes根据每俩个的时间及高度差可计算答案[crayon-674300c11b9ed176727515/]D.WeirdChess暴力暴力暴力[crayon-674300c11b9f3313046482/]E.DemiurgesPlayAgain考虑进入某个根,最终会取得子树第几小的叶子[crayon-674300c11b9f9258226...
「cf534A」Examyy个奇怪的构造TT[crayon-674300c11d953399083799/]「cf534B」CoveredPathd很小,最大速度就很小,dp即可[crayon-674300c11d95b063253340/]「cf534C」Polycarpus'Dice对于每个骰子,得出其它骰子的和sum则它的最小值为A-sum,最大值为A-n+1[crayon-674300c11d961099999058/]「cf534D」Handshakes尽量大的能处理则处理[crayon-674300c11d965277057499/]「cf534E」BerlandLocalPositioningSystem非...
DescriptionThoughZCChasmanyFans,ZCChimselfisacrazyFanofacoder,called"Memset137".ItwasonCodefires(CF),anonlinecompetitiveprogrammingsite,thatZCCknewMemset137,andimmediatelybecamehisfan.Butwhy?BecauseMemset137cansolveallprobleminrounds,withoutunsuccessfulsubmissions;hisestimationoftimetosolvecertainproblemissoaccurate,thathecansurelygetanAcceptedthesecondhehaspredicted.Hesoon...
Manyyearshavepassed,andnfriendsmetatapartyagain.Technologieshaveleapedforwardsincethelastmeeting,cameraswithtimerappearedandnowitisnotobligatoryforoneofthefriendstostandwithacamera,and,thus,beingabsentonthephoto.Simplyspeaking,theprocessofphotographingcanbedescribedasfollows.Eachfriendoccupiesarectangleofpixelsonthephoto:thei-thoftheminastandingstateoccupiesawipixelswideandahipixelshighrectang...
近期评论