自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char a[1000]; cin>>a; for(int …… 题解列表 2023年05月16日 0 点赞 0 评论 370 浏览 评分:9.9
[编程入门]自定义函数之字符串连接 摘要:解题思路:直接相加即可注意事项:头文件#include#includeusing namespace std;void func(string n,string m){ cout<<n+m;}int…… 题解列表 2023年05月16日 0 点赞 0 评论 332 浏览 评分:0.0
百分之成绩转换 摘要:解题思路:简单粗暴注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,x,cnt=0; cin>>…… 题解列表 2023年05月14日 0 点赞 0 评论 370 浏览 评分:9.9
题解1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:高精度乘法即可。注意事项:参考代码:#include<iostream>using namespace std;int c[10000] = {0};int len = 1 , n;void…… 题解列表 2023年05月14日 0 点赞 0 评论 264 浏览 评分:0.0
1322: 沙子合并 摘要:```cpp #include using namespace std; #define maxn 1001 #define INF 1…… 题解列表 2023年05月13日 0 点赞 0 评论 684 浏览 评分:8.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:想做这道题,需要先搞清楚一元二次方程,这里就不多说了直接套公式:x1 = -b+√b^2-4ac 2a …… 题解列表 2023年05月13日 0 点赞 0 评论 312 浏览 评分: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 评论 280 浏览 评分: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 评论 203 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include<iostream>using namespace std;int main(){ int t; cin>>t; if(t>=25&&t<=30) …… 题解列表 2023年05月13日 0 点赞 0 评论 190 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:#include <iostream>using namespace std;int main(){ char ch; cin>>ch; if(int(ch)&1) { co…… 题解列表 2023年05月13日 0 点赞 1 评论 535 浏览 评分:9.9