自定义函数之数字后移 摘要:解题思路:输入总个数n,n个整数,调整的个数m。输入之后,自定义一个函数int tiaozheng(int a[100],int m,int n);1.函数中定义数组b[m],将最后m个数存到数组b[…… 题解列表 2022年12月09日 0 点赞 0 评论 212 浏览 评分:9.9
简单的a+b(C++代码) 摘要:解题思路:利用while循环判断输入的数据注意事项:主要换行操作参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2022年12月09日 0 点赞 0 评论 439 浏览 评分:9.9
[编程入门]完数的判断 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; int len=0; int arr[…… 题解列表 2022年12月09日 0 点赞 0 评论 170 浏览 评分:9.9
1188: 做幻方 摘要:```cpp #include #include #include #define MOVE magic[y-1][x+1] using namespace std; int main()…… 题解列表 2022年12月10日 0 点赞 0 评论 559 浏览 评分:9.9
1189: 内码对称 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL num; int a…… 题解列表 2022年12月10日 0 点赞 0 评论 397 浏览 评分:9.9
1190: 剔除相关数 摘要:```cpp #include #include #include #include using namespace std; mapma; setse; struct str {…… 题解列表 2022年12月10日 0 点赞 0 评论 333 浏览 评分:9.9
Hash映射求亲密数 摘要:# 哈希映射 ~~~ c++ int main() { int i ; int j ; int count = 0; int cmp ; int Hash[3001]{ 0 …… 题解列表 2022年12月10日 0 点赞 0 评论 327 浏览 评分:9.9
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,sum=0,b,t,i,m; int a[N]; scanf("%d",&N); for( i=0;…… 题解列表 2022年12月10日 0 点赞 0 评论 255 浏览 评分:9.9
[编程入门]有规律的数列求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float ans=0; int n; cin>>n…… 题解列表 2022年12月10日 0 点赞 0 评论 295 浏览 评分:9.9
[编程入门]自由下落的距离计算 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float m,n; cin>>m>>n; floa…… 题解列表 2022年12月10日 0 点赞 0 评论 223 浏览 评分:9.9