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