1242: 矩阵转置 摘要:```cpp #include using namespace std; int a[1001][1001]; int main() { int n; cin>>n; …… 题解列表 2023年02月01日 0 点赞 0 评论 368 浏览 评分:9.9
巧妙运用'\0' 摘要:```c #include #include #include int main() { int n,flag=0; char a[100], b[100]; gets_s(a)…… 题解列表 2023年02月01日 0 点赞 0 评论 686 浏览 评分:9.9
1243: 破解平方数 摘要:```cpp #include #include using namespace std; typedef long long ll; int t,m,r[101]; ll DFS(int…… 题解列表 2023年02月01日 0 点赞 0 评论 542 浏览 评分:9.9
1951 求平方和 题解 摘要:只要用a2+b22就行了参考代码一:#includeusing namespace std;int main(){ int a,b; cin>>a>>b; cout<<a*a+b*b…… 题解列表 2023年02月01日 0 点赞 0 评论 619 浏览 评分:9.9
字符串编辑 略微麻烦 摘要:解题思路:分功能解决注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string a; …… 题解列表 2023年02月01日 0 点赞 0 评论 439 浏览 评分:9.9
1247: 筛排处理 摘要:```cpp #include #include using namespace std; int main() { int n; while(cin>>n&&n) …… 题解列表 2023年02月01日 0 点赞 0 评论 402 浏览 评分:9.9
1248: 简单的事情 摘要:```cpp #include using namespace std; unsigned long long int jiecheng(int n) { if(n==0) …… 题解列表 2023年02月01日 1 点赞 0 评论 502 浏览 评分:9.9
甲流病人初筛(结构体做法、C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct person{ char name[10]; float temperat…… 题解列表 2023年02月01日 0 点赞 0 评论 723 浏览 评分:9.9
1157 亲和数 利用函数解决 摘要:#include<stdio.h>#include<math.h>int fun(int n){ int i,a,b,c,m,sum=0; m=sqrt(n);//可提高效率 for(i=2;i<=…… 题解列表 2023年02月01日 0 点赞 0 评论 359 浏览 评分:9.9
自定义函数之整数处理(入门必备) 摘要:题目:输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。写三个函数; ①输入10个数;②进行处理;③输出10个数。分析:1,输入10个整数,并实现各个整数的交换,要用到数组(a…… 题解列表 2023年02月01日 0 点赞 0 评论 481 浏览 评分:9.9