二级C语言-统计字符 摘要:解题思路:暴力注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;string s;long long yw,kg,sz,qt;int mai…… 题解列表 2022年04月29日 0 点赞 0 评论 310 浏览 评分:0.0
二级C语言-阶乘数列 摘要:解题思路:用计算机算出答案,再输出注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<"2.74e+32"…… 题解列表 2022年04月29日 0 点赞 0 评论 426 浏览 评分:0.0
纯粹手贱,不能理解,没有关系 摘要:解题思路:纯粹手贱,不能理解,没有关系注意事项:前方高能,注意避让参考代码:#include<stdio.h>int main(){ int a[10] = { 0 }; int b[10] = {0…… 题解列表 2022年04月29日 0 点赞 0 评论 371 浏览 评分:0.0
用筛法求之N内的素数。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,a[1000005];int main(){ cin>>n; for(i…… 题解列表 2022年04月29日 0 点赞 0 评论 325 浏览 评分:0.0
python求结构体之成绩统计,好理解 摘要:解题思路:先把每个学生的信息装在一个列表里,外层再套一个列表装全部同学的个人信息,再把每科分数单独提出来注意事项:参考代码:n=int(input())list=[]list2=[]list3=[]l…… 题解列表 2022年04月29日 0 点赞 0 评论 448 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ cin>>a>>b; for(int i=m…… 题解列表 2022年04月29日 0 点赞 0 评论 363 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:用指针来做会好做一些,指针加几就是往后移几个输入字符串的话,我倾向于用gets和puts再用strlen来计算字符串的长度再结合指针第一次写,不足之处还希望大家指出。注意事项:参考代码:#i…… 题解列表 2022年04月29日 0 点赞 0 评论 391 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int gys(int a,int b)//最大公约数{ for(i…… 题解列表 2022年04月29日 0 点赞 0 评论 327 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;double a;//要用double int main(){ cin>>a; pr…… 题解列表 2022年04月29日 0 点赞 0 评论 406 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ctof(int c);int main() { int c; …… 题解列表 2022年04月29日 0 点赞 0 评论 317 浏览 评分:0.0