题解1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:高精度乘法即可。注意事项:参考代码:#include<iostream>using namespace std;int c[10000] = {0};int len = 1 , n;void…… 题解列表 2023年05月14日 0 点赞 0 评论 361 浏览 评分:0.0
1322: 沙子合并 摘要:```cpp #include using namespace std; #define maxn 1001 #define INF 1…… 题解列表 2023年05月13日 0 点赞 0 评论 793 浏览 评分:8.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:想做这道题,需要先搞清楚一元二次方程,这里就不多说了直接套公式:x1 = -b+√b^2-4ac 2a …… 题解列表 2023年05月13日 0 点赞 0 评论 439 浏览 评分: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 评论 364 浏览 评分: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 评论 288 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include<iostream>using namespace std;int main(){ int t; cin>>t; if(t>=25&&t<=30) …… 题解列表 2023年05月13日 0 点赞 0 评论 262 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:#include <iostream>using namespace std;int main(){ char ch; cin>>ch; if(int(ch)&1) { co…… 题解列表 2023年05月13日 0 点赞 1 评论 603 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; cin>>n; if(n%2==0) { cout<<"…… 题解列表 2023年05月13日 0 点赞 0 评论 551 浏览 评分:0.0
单词得分c++ 摘要:解题思路:注意事项:注意a和A的得分为1,在转换成整数的时候要+'1'参考代码:#include<bits/stdc++.h>using namespace std;int main(…… 题解列表 2023年05月13日 0 点赞 0 评论 452 浏览 评分:0.0
编写题解 2003: 统计字符个数(cin.getline函数的使用) 摘要:### cin.getline 函数 ```c++ #include #include using namespace std; int main() { char s[11]; …… 题解列表 2023年05月13日 0 点赞 0 评论 503 浏览 评分:0.0