realloc动态分配内存 摘要:解题思路:注意事项:参考代码:#include<stdio.h>/*72 101 108 108 111 44 32 119 111 114 108 100  题解列表 2022年12月09日 0 点赞 0 评论 302 浏览 评分:0.0
[编程入门]Sn的公式求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int Sn=0; …… 题解列表 2022年12月09日 0 点赞 0 评论 374 浏览 评分:9.3
[编程入门]完数的判断 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; int len=0; int arr[…… 题解列表 2022年12月09日 0 点赞 0 评论 212 浏览 评分:9.9
晶晶赴会选择语句 摘要:解题思路:利用switch语句注意事项:一定要用break语句结束参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); s…… 题解列表 2022年12月10日 0 点赞 0 评论 409 浏览 评分:9.0
python 简单易懂的求平均年龄-题解 摘要:解题思路: 用for循环来输入注意事项: 输入的是个整数(int)参考代码: n = int(input());s=k=0for i in range(n): x = int(input())…… 题解列表 2022年12月10日 0 点赞 4 评论 1038 浏览 评分:6.2
1188: 做幻方 摘要:```cpp #include #include #include #define MOVE magic[y-1][x+1] using namespace std; int main()…… 题解列表 2022年12月10日 0 点赞 0 评论 611 浏览 评分:9.9
1189: 内码对称 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL num; int a…… 题解列表 2022年12月10日 0 点赞 0 评论 453 浏览 评分:9.9
1190: 剔除相关数 摘要:```cpp #include #include #include #include using namespace std; mapma; setse; struct str { …… 题解列表 2022年12月10日 0 点赞 0 评论 382 浏览 评分:9.9
Hash映射求亲密数 摘要:# 哈希映射 ~~~ c++ int main() { int i ; int j ; int count = 0; int cmp ; int Hash[3001]{ 0 …… 题解列表 2022年12月10日 0 点赞 0 评论 376 浏览 评分: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 评论 297 浏览 评分:9.9