题解 2285: 蓝桥杯2018年第九届真题-螺旋折线

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

蓝桥杯2018年第九届真题-螺旋折线

摘要:解题思路:以坐标绝对值最大的划分正方形个数,之前的都是正方形参考代码:#include<bits/stdc++.h> using namespace std; #define int long l……

简单的数学题

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll x,y;int main(){   ……

蓝桥杯2018年第九届真题-螺旋折线-题解(C++代码)

###解题思路:左上角的点作为上面横线的基点,右上角的点作为右边竖线的基点,右下角的点作为下面横线的基点,左下角的点作为左面竖线的基点,找出规律即可。```cpp#include#definexfirst#defineysecond#definemem1(h)memset(h,