引用上面博主的,感觉进步了 #include#include#includeusingnamespacestd;constintN=200;intf[N];inta[N];intp[N];intmain(){intn,maxs,k,sum=0,s;cin>>n;for(inti=1;i>a[i];p[i]=1;}for(inti 题解列表 2023年06月18日 0 点赞 0 评论 632 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ float score[7]; char name[50];};int main(){ struct s…… 题解列表 2023年06月18日 0 点赞 0 评论 511 浏览 评分:0.0
我奶奶都会 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int i; char a[300]; gets(a)…… 题解列表 2023年06月18日 0 点赞 0 评论 1146 浏览 评分:9.9
小学生解法,刚学一周C,不会太复杂的 解题思路:将两行字符串相同的部分去除,剩下的两行字符串,哪个的字符数多,就以哪行的字符串数为操作次数(哈哈自己推下为什么)然后通过for循环比较a[i]b[i],要分开依次寻找出现重复的字符,统计sum。注意事项:我是新手,没啥建议参考代码:#include#include 题解列表 2023年06月18日 0 点赞 3 评论 867 浏览 评分:9.9 c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i; float p = 1, q = 2,sum=2.0,temp; scan…… 题解列表 2023年06月17日 0 点赞 0 评论 553 浏览 评分:6.0 c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%x",&n); printf("%d",n); retur…… 题解列表 2023年06月17日 0 点赞 0 评论 674 浏览 评分:0.0 1164: 数组的距离 ```c++#includeintmain(){int*p=nullptr;int*q=nullptr;intm,n;cin>>n>>m;p=newint[n];q=newint[m];for(inti=0;i>p[i];}for(intj=0;j>q[ 题解列表 2023年06月17日 0 点赞 0 评论 555 浏览 评分:0.0 编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n ; int sum=0 ; …… 题解列表 2023年06月17日 0 点赞 0 评论 809 浏览 评分:6.0 c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sum_appro(int x){ int sum = 0,i; for (i = 1; i <= x/2; i++…… 题解列表 2023年06月17日 0 点赞 0 评论 628 浏览 评分:0.0 c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str…… 题解列表 2023年06月17日 0 点赞 0 评论 437 浏览 评分:0.0 « 12...514515516517518519520...29572958 »
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i; float p = 1, q = 2,sum=2.0,temp; scan…… 题解列表 2023年06月17日 0 点赞 0 评论 553 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%x",&n); printf("%d",n); retur…… 题解列表 2023年06月17日 0 点赞 0 评论 674 浏览 评分:0.0
1164: 数组的距离 ```c++#includeintmain(){int*p=nullptr;int*q=nullptr;intm,n;cin>>n>>m;p=newint[n];q=newint[m];for(inti=0;i>p[i];}for(intj=0;j>q[ 题解列表 2023年06月17日 0 点赞 0 评论 555 浏览 评分:0.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n ; int sum=0 ; …… 题解列表 2023年06月17日 0 点赞 0 评论 809 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sum_appro(int x){ int sum = 0,i; for (i = 1; i <= x/2; i++…… 题解列表 2023年06月17日 0 点赞 0 评论 628 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str…… 题解列表 2023年06月17日 0 点赞 0 评论 437 浏览 评分:0.0