#HIAST

Gym 100952J&&2015 HIAST Collegiate Programming Contest J. Polygons Intersection【计算几何求解两个凸多边形的相交面积板子题】

timelimitpertest:2secondsmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputWewillnotwasteyourtime,itisastraightforwardproblem.Givenmultiplep...

Gym 100952I&&2015 HIAST Collegiate Programming Contest I. Mancala【模拟】

timelimitpertest:3secondsmemorylimitpertest:256megabytesinput:standardinputoutput:standardoutputMancalaisatraditionalboardgameplayedinAfrica,MiddleEastandAsia.I...

Gym 100952H&&2015 HIAST Collegiate Programming Contest H. Special Palindrome【dp预处理+矩阵快速幂/打表解法】

timelimitpertest:1secondmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputAsequenceofpositiveandnon-zerointegerscalledpalindromicifitcanbere...

Gym 100952G&&2015 HIAST Collegiate Programming Contest G. The jar of divisors【简单博弈】

timelimitpertest:2secondsmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputAliceandBobplaythefollowinggame.TheychooseanumberNtoplaywith.Ther...

Gym 100952F&&2015 HIAST Collegiate Programming Contest F. Contestants Ranking【BFS+STL乱搞(map+vector)+优先队列】

timelimitpertest:1secondmemorylimitpertest:24megabytesinput:standardinputoutput:standardoutputAhmadisoneofthebeststudentsinHIAST,andalsoaverygoodproblemsSolver....

Gym 100952E&&2015 HIAST Collegiate Programming Contest E. Arrange Teams【DFS+剪枝】

timelimitpertest:2secondsmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputSyrianCollegiateProgrammingContest(SCPC)isthequalifiedroundforthe...

Gym 100952D&&2015 HIAST Collegiate Programming Contest D. Time to go back【杨辉三角预处理,组合数,dp】

timelimitpertest:1secondmemorylimitpertest:256megabytesinput:standardinputoutput:standardoutputYouhavebeenoutofSyriaforalongtime,andyourecentlydecidedtocomeback...

Gym 100952C&&2015 HIAST Collegiate Programming Contest C. Palindrome Again !!【字符串,模拟】

timelimitpertest:1secondmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputGivenstringwithNcharacters,yourtaskistotransformittoapalindromestr...

Gym 100952B&&2015 HIAST Collegiate Programming Contest B. New Job【模拟】

timelimitpertest:1secondmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputThisisthefirstdayforyouatyournewjobandyourbossasksyoutocopysomefil...

Gym 100952A&&2015 HIAST Collegiate Programming Contest A. Who is the winner?【字符串,暴力】

timelimitpertest:1secondmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputAbigmarathonisheldonAl-MazaRoad,Damascus.Runnerscamefromalloverthe...