题解列表

筛选

铺地毯-题解(C++代码)

摘要:这道题其实没有很复杂,不要想太多 正常模拟即可,后来的地毯在新来的地毯之上 倒叙进行遍历找出符合要求的地毯编号即可 ```cpp #include #include #include ……

蛇行矩阵-题解(C语言代码)

摘要:解题思路:寻找行和列各数字之间的规律,一步到位注意事项:参考代码:#include<stdio.h>int main(){ int i,j; int n; scanf("%d",&n); for(i=……

简单的字符串-题解(C++代码)

摘要:解题思路:循环遍历, 很通俗易懂的解法!注意事项:无参考代码:#include <bits/stdc++.h> using namespace std; typedef long long ll;……