- 博客(6)
- 收藏
- 关注
原创 寒假集训1.25
寒假集训文章目录寒假集训A - The Blocks ProblemB - Broken KeyboardC - BabelfishD - AnanagramsF - ConformityA - The Blocks ProblemMany areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of
2021-01-26 08:51:51
179
原创 冬季集训1.22
冬季集训1.22文章目录冬季集训1.22A - BrainmanB - Ultra-QuickSortD - Word AmalgamationE排名F - Election TimeG - Holiday HotelA - BrainmanBackgroundRaymond Babbitt drives his brother Charlie mad. Recently Raymond counted 246 toothpicks spilled all over the floor in an
2021-01-22 17:15:55
300
原创 冬季集训1.21
冬季集训1.21文章目录冬季集训1.21A - NecklaceB - Bode PlotC - Symmetric MatrixD - Homogeneous SquaresE - To the MaxF - Who's in the MiddleG - Train SwappingH - DNA SortingA - Necklace属于公式推导题求圆环数量使得项链最长,n = vt/(2*v0),要注意的是有两个解时输出0,所以要判断n和n向下取整的差与0.5的关系完整代码:#inclu
2021-01-22 17:14:41
303
原创 寒假集训1.20
寒假集训1.20文章目录寒假集训1.20A - Birthday CakeB - Is This Integration ?C - Simple divisionD - Euclid ProblemE - Dead FractionF - What is the Probability ?G - BurgerH - Coin TossI - 498-bisA - Birthday Cake题目大意:均分蛋糕上的樱桃,不能偏心思路:蛋糕上的所有樱桃看成点,拥有坐标,切口看成一条线,题目就转换成了系数
2021-01-22 17:12:01
260
原创 寒假集训1.19
寒假集训1.19文章目录寒假集训1.19A - Maya CalendarB - Diplomatic LicenseC - "Accordian" PatienceD - Broken Keyboard (a.k.a. Beiju Text)E - SatellitesF - Fourth Point !!G - The Circumference of the CircleH - TitanicA - Maya CalendarDuring his last sabbatical, profess
2021-01-22 17:05:08
880
原创 2021冬季集训
冬季集练1.18A - Specialized Four-Digit Numbers通过调用函数来计算m进制的四位数字之和int cal(int size,int x){ int sum = 0; for(;x;x = x/size) sum+=x%size; return sum;}如果10进制4位数字和等于16与12进制数字和,符合题意,输出数字 for(int i = 2992;i<=9999;++i){ if(cal(10,i)==cal(16,i)&&
2021-01-18 22:34:24
121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人