1955: 贷款计算 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月16日 0 点赞 0 评论 300 浏览 评分:0.0
c++递归法解法 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring>using namespace std;int f(int x){ if(x==1||x==2) …… 题解列表 2023年10月16日 0 点赞 0 评论 209 浏览 评分:0.0
c++字符串的简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring>using namespace std;int main(){ string str; getli…… 题解列表 2023年10月16日 0 点赞 0 评论 137 浏览 评分:0.0
c++主函数单个循环避免超时 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring>using namespace std;int f(int x){ int sum=0; for(…… 题解列表 2023年10月16日 0 点赞 0 评论 202 浏览 评分:0.0
c++循环解法 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring>using namespace std;int main(){ int n=0,sum=0,s=0…… 题解列表 2023年10月16日 0 点赞 0 评论 213 浏览 评分:0.0
10行搞定(c++代码)超易懂 摘要:解题思路:列举样例的情况不难发现,靠左边的树苗离右边的长度决定了它的最高度,同理,靠右的树苗离左边界的距离决定了它的高度,这样看来这个题目就简单多了 第一天 …… 题解列表 2023年10月15日 0 点赞 0 评论 235 浏览 评分:2.0
C语言训练-数字母 摘要:**思路:** 如果参数是字母,`isalpha`函数返回true。 `isalpha`函数原型在`cctype`中。 `'\0'`是字符串的结尾 **代码:** ```c++ #incl…… 题解列表 2023年10月15日 0 点赞 0 评论 169 浏览 评分:0.0
c++字符串简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm>using namespace std;int main(){ int n,m; string…… 题解列表 2023年10月15日 0 点赞 0 评论 163 浏览 评分:9.9
1869: 鸡兔同笼(多组输入) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main () { int m,n; int …… 题解列表 2023年10月15日 0 点赞 0 评论 163 浏览 评分:0.0
1872: 春夏秋冬季节判断 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2023年10月15日 0 点赞 0 评论 172 浏览 评分:0.0