简单的a+b(C++代码) 摘要:解题思路:利用while循环判断输入的数据注意事项:主要换行操作参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2022年12月09日 0 点赞 0 评论 574 浏览 评分:9.9
[编程入门]完数的判断 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; int len=0; int arr[…… 题解列表 2022年12月09日 0 点赞 0 评论 318 浏览 评分:9.9
1188: 做幻方 摘要:```cpp #include #include #include #define MOVE magic[y-1][x+1] using namespace std; int main()…… 题解列表 2022年12月10日 0 点赞 0 评论 693 浏览 评分:9.9
1189: 内码对称 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL num; int a…… 题解列表 2022年12月10日 0 点赞 0 评论 535 浏览 评分:9.9
1190: 剔除相关数 摘要:```cpp #include #include #include #include using namespace std; mapma; setse; struct str { …… 题解列表 2022年12月10日 0 点赞 0 评论 474 浏览 评分:9.9
Hash映射求亲密数 摘要:# 哈希映射 ~~~ c++ int main() { int i ; int j ; int count = 0; int cmp ; int Hash[3001]{ 0 …… 题解列表 2022年12月10日 0 点赞 0 评论 450 浏览 评分: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 评论 349 浏览 评分:9.9
[编程入门]有规律的数列求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float ans=0; int n; cin>>n…… 题解列表 2022年12月10日 0 点赞 0 评论 417 浏览 评分:9.9
[编程入门]自由下落的距离计算 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ float m,n; cin>>m>>n; floa…… 题解列表 2022年12月10日 0 点赞 0 评论 331 浏览 评分:9.9
[编程入门]猴子吃桃的问题 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int a=1; …… 题解列表 2022年12月10日 0 点赞 0 评论 414 浏览 评分:9.9