1322: 沙子合并 摘要:```cpp #include using namespace std; #define maxn 1001 #define INF 1…… 题解列表 2023年05月13日 0 点赞 0 评论 742 浏览 评分:8.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:想做这道题,需要先搞清楚一元二次方程,这里就不多说了直接套公式:x1 = -b+√b^2-4ac 2a …… 题解列表 2023年05月13日 0 点赞 0 评论 370 浏览 评分:9.9
暴力枚举完美数 摘要:```c++ #include using namespace std; bool func(int x) { int sum(0); for(int i = 1;i>n; …… 题解列表 2023年05月13日 0 点赞 0 评论 316 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=10||b>=2…… 题解列表 2023年05月13日 0 点赞 0 评论 231 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include<iostream>using namespace std;int main(){ int t; cin>>t; if(t>=25&&t<=30) …… 题解列表 2023年05月13日 0 点赞 0 评论 223 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:#include <iostream>using namespace std;int main(){ char ch; cin>>ch; if(int(ch)&1) { co…… 题解列表 2023年05月13日 0 点赞 1 评论 559 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; cin>>n; if(n%2==0) { cout<<"…… 题解列表 2023年05月13日 0 点赞 0 评论 502 浏览 评分:0.0
单词得分c++ 摘要:解题思路:注意事项:注意a和A的得分为1,在转换成整数的时候要+'1'参考代码:#include<bits/stdc++.h>using namespace std;int main(…… 题解列表 2023年05月13日 0 点赞 0 评论 389 浏览 评分:0.0
编写题解 2003: 统计字符个数(cin.getline函数的使用) 摘要:### cin.getline 函数 ```c++ #include #include using namespace std; int main() { char s[11]; …… 题解列表 2023年05月13日 0 点赞 0 评论 438 浏览 评分:0.0
别管,输出就完了c++ 摘要:解题思路:1、先定义一个字符数组2、输入n,就是输入多少个数,用for循环3、然后输入m是从哪开始取4、后面调用fun函数,把他妈的m和该死的字符串s传过去,从哪开始就从哪输出,非要纠结题目拷贝可以再…… 题解列表 2023年05月12日 0 点赞 0 评论 289 浏览 评分:0.0