N以内累加求和 2544 摘要:解题思路:#include<bits/stdc++.h>using namespace std;int n;int main(){cin>>n;int s=(1+n)*n/2;cout<<s;}注意事…… 题解列表 2024年01月08日 0 点赞 0 评论 559 浏览 评分:0.0
偶数列举 2000: 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; cin>>n; for(int i=1; i<n;i+…… 题解列表 2024年01月08日 0 点赞 0 评论 521 浏览 评分:2.0
111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(in…… 题解列表 2024年01月08日 0 点赞 0 评论 480 浏览 评分:0.0
循环入门练习1 1764 摘要:解题思路:#include <iostream>using namespace std;int main(){ int sum =0; for(int i=1; i<=1000;i++)…… 题解列表 2024年01月08日 0 点赞 0 评论 539 浏览 评分:2.0
面向结果编程 #includeusingnamespacestd;typedefstructfff{intnum;intgrade;}fff;intmain(intargc,charconst*argv[]){intn,m;cin>>n>>m;fffa[n+m];for(inti=0;i 题解列表 2024年01月08日 0 点赞 0 评论 421 浏览 评分:0.0
2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; double b=0…… 题解列表 2024年01月08日 0 点赞 0 评论 493 浏览 评分:0.0
[C语言]c语言考试练习题_排序 解题思路:规律:每一行的开头数字,相邻相同数为一组,下一次重复为间隔得到规律123\124\134\234统计每一次不出现的数的下标,得到3,2,1,0是一个递减的过程,且下标0也要执行->最外循环8.当循环内的数等于6.出现的下标时不循环注意事项:下标0也要执行循环参考代码:#include 题解列表 2024年01月07日 0 点赞 0 评论 734 浏览 评分:0.0 简单计算机器实现(运用双重指针,可以实现多个数之间的运算) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<ctype.h> int m(char **p)//单指针*p里存储的是传过来的指针p的地址,双指针才是值 {…… 题解列表 2024年01月07日 0 点赞 0 评论 575 浏览 评分:0.0 vhgnghlkjhgfdsdfftghjkl;lkjhgfrde 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,w,b; cout<<"体重…… 题解列表 2024年01月07日 0 点赞 1 评论 569 浏览 评分:4.7 单词统计(小心些数组的空间) 摘要:解题思路:注意题目说单词可重叠,那就以卷子每个元素都为开头一次,往后遍历比较一次注意事项:参考代码:#include<stdio.h> int main() { int n; scanf(…… 题解列表 2024年01月07日 1 点赞 0 评论 573 浏览 评分:0.0 « 12...334335336337338339340...29612962 »
简单计算机器实现(运用双重指针,可以实现多个数之间的运算) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<ctype.h> int m(char **p)//单指针*p里存储的是传过来的指针p的地址,双指针才是值 {…… 题解列表 2024年01月07日 0 点赞 0 评论 575 浏览 评分:0.0
vhgnghlkjhgfdsdfftghjkl;lkjhgfrde 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,w,b; cout<<"体重…… 题解列表 2024年01月07日 0 点赞 1 评论 569 浏览 评分:4.7
单词统计(小心些数组的空间) 摘要:解题思路:注意题目说单词可重叠,那就以卷子每个元素都为开头一次,往后遍历比较一次注意事项:参考代码:#include<stdio.h> int main() { int n; scanf(…… 题解列表 2024年01月07日 1 点赞 0 评论 573 浏览 评分:0.0