[编程入门]三个数找最大值 摘要:解题思路:max注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; co…… 题解列表 2022年05月24日 0 点赞 0 评论 349 浏览 评分:0.0
[编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n<1…… 题解列表 2022年05月24日 0 点赞 0 评论 309 浏览 评分:0.0
优质题解 回文数(二)普通C++写法,分模块讲解 摘要:解题思路:根据题意我们知道实现程序的话,主要是下面函数的循环:定义cot = 0,cot是用来记录循环次数 由于(0<=M<=maxlongint)较大,我们使用数组进行储存数据,防止数据过大溢出 …… 题解列表 2022年05月24日 0 点赞 0 评论 1207 浏览 评分:7.7
[编程入门]水仙花数判断 C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<153<<endl<<370<<endl<…… 题解列表 2022年05月23日 0 点赞 0 评论 319 浏览 评分:0.0
1016: [编程入门]水仙花数判断(c++) 摘要:解题思路:注意事项:参考代码:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a=0,b=0,c=0; …… 题解列表 2022年05月23日 0 点赞 0 评论 547 浏览 评分:9.9
1001: [编程入门]第一个HelloWorld程序(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"*************************…… 题解列表 2022年05月23日 0 点赞 0 评论 441 浏览 评分:6.0
1000: [竞赛入门]简单的a+b(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; while(ci…… 题解列表 2022年05月23日 0 点赞 0 评论 298 浏览 评分:6.0
编写题解 1032: [编程入门]自定义函数之字符串连接(c++) 摘要:解题思路:定义两个字符串,再分别输出注意事项:不要换行!不要换行!不要换行!参考代码:#include<iostream>using namespace std;int main(){ stri…… 题解列表 2022年05月23日 0 点赞 0 评论 399 浏览 评分:6.0
编写题解 1031: [编程入门]自定义函数之字符串反转(c++) 摘要:解题思路:先定义一个字符串,再反向输出注意事项:参考代码:#include<iostream>using namespace std;int main(){ string n; cin>>…… 题解列表 2022年05月23日 0 点赞 0 评论 686 浏览 评分:9.9
1233: 核电站问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ long long dp[50…… 题解列表 2022年05月22日 0 点赞 0 评论 470 浏览 评分:9.9