蓝桥杯2019年第十届真题-旋转-题解(C++代码) 摘要:```cpp #include #include #include #include #include #include #include using namespace std; …… 题解列表 2020年03月28日 0 点赞 0 评论 718 浏览 评分:9.9
蓝桥杯2019年第十届真题-旋转-题解(C++代码) 摘要:### 解题思路:分清楚哪个是内循环,哪个是外循环,那里是起点即可。 ```cpp #include #define x first #define y second #define m…… 题解列表 2020年10月15日 0 点赞 0 评论 603 浏览 评分:9.9
蓝桥杯2019年第十届真题-旋转-题解(Python代码) 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split())num=[]res=[[0]*n for i in range(m)]a=nwhile a!=0: num.…… 题解列表 2021年02月08日 0 点赞 0 评论 474 浏览 评分:9.9
2308: 蓝桥杯2019年第十届真题-旋转 摘要:解题思路:一个简单的列表运用注意事项:如果能运用矩阵会更简单参考代码:a,b=map(int,input().split()) list1=[[0]*b for i in range(a)] li…… 题解列表 2021年04月01日 0 点赞 0 评论 371 浏览 评分:9.9
平凡の解法 摘要:解题思路:就是用迭代的方法将所有的数组读入,然后再构建一个反转的数组,最后再读入这个相反的顺序,所以基本,就是的很容易的,中规中矩的题,可能会有达大佬想到新解法,但估计很难。时间复杂度O(n^2),空…… 题解列表 2021年04月14日 0 点赞 0 评论 289 浏览 评分:9.9