百钱百鸡问题(超级简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int i,j,k; for(i=0;…… 题解列表 2022年10月28日 0 点赞 0 评论 289 浏览 评分:9.9
求车速(超级简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int i; for(i=95860;…… 题解列表 2022年10月28日 1 点赞 0 评论 426 浏览 评分:9.9
没用数组,简单处理 摘要:解题思路:没用数组参考代码:#include<iostream>using namespace std;int main(){ int i,s[9]; for(i=0;i<9;i++) c…… 题解列表 2022年10月27日 0 点赞 0 评论 195 浏览 评分:0.0
求素数问题(超简,思路清晰C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i,j; cin>>n;…… 题解列表 2022年10月27日 0 点赞 0 评论 183 浏览 评分:9.9
求矩阵的两对角线上的元素之和(思路清晰———二维数组) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i,j,a[10][10],s=0,…… 题解列表 2022年10月27日 0 点赞 0 评论 299 浏览 评分:9.3
C语言训练-求函数值(超简C++) 摘要:解题思路:函数调用自己即可实现递归注意事项:参考代码:#include<iostream> using namespace std; int f(int x) { if(x==1) …… 题解列表 2022年10月27日 0 点赞 0 评论 290 浏览 评分:9.9
求具有abcd=(ab+cd)2性质的四位数(超简C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int i,a,b,c,d; for(…… 题解列表 2022年10月27日 0 点赞 0 评论 301 浏览 评分:9.9
求s=a+aa+aaa+aaaa+aa...a的值(书本源码) 摘要:#include<iostream> using namespace std; int main() { int a,n,i=1,sn=0,tn=0; cin>>a>>n;…… 题解列表 2022年10月27日 0 点赞 0 评论 196 浏览 评分:9.9
求PI*(简单C++) 摘要:#include<iostream> #include<cmath> #include<iomanip> using namespace std; int main(){ doubl…… 题解列表 2022年10月27日 0 点赞 0 评论 431 浏览 评分:9.9
字符逆序C++实现 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string s; get…… 题解列表 2022年10月27日 0 点赞 0 评论 180 浏览 评分:0.0