题解列表

筛选

2175: 信息学奥赛一本通T1250-The Castle

摘要:``` /* 在标注四个方向时一定要注意本题中往下是y轴增加的方向,和我们平时用的数学中的坐标轴不同!!! */ #include #define x first #define……

Tetrahedrons and Spheres

摘要:#include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <algorithm> #……

信息学奥赛一本通T1454-山峰和山谷

摘要:``` /* 在判断是否是山峰或者山谷时不能用简单的if-else判断,因为可能会有即是山峰又是山谷的情况出现 */ #include #define x first #defi……