1050-结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char num[10]; char name…… 题解列表 2022年10月06日 0 点赞 0 评论 298 浏览 评分:0.0
一般人写的常规代码 摘要:解题思路:注意事项:参考代码: int i,n,sum=0,p=-1; scanf("%d",&n); for(i=0;i<n;i++) { p=p+3; sum=sum+p; …… 题解列表 2022年10月06日 0 点赞 0 评论 365 浏览 评分:0.0
1051-结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char num[10]; char name…… 题解列表 2022年10月06日 0 点赞 0 评论 367 浏览 评分:0.0
1052-链表合并 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef struct Node{ int num; int grade…… 题解列表 2022年10月06日 0 点赞 0 评论 324 浏览 评分:0.0
1112-一元二次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a …… 题解列表 2022年10月06日 0 点赞 0 评论 351 浏览 评分:0.0
1113-保留字母 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ string s,s1; getli…… 题解列表 2022年10月06日 0 点赞 0 评论 394 浏览 评分:0.0
1124-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main() //该段代码无法通过,显示答案错误。D…… 题解列表 2022年10月07日 0 点赞 0 评论 342 浏览 评分:0.0
非字符串方法,暴力求解 摘要:解题思路:一步一步来,先确定位数是多少,再求出余数等,直接看代码。注意事项:参考代码:#include<stdio.h>int func_a(int a){ int i = 0; //判断传入的数字是…… 题解列表 2022年10月07日 0 点赞 0 评论 383 浏览 评分:0.0
1126-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm> using namespace std;int main()…… 题解列表 2022年10月07日 0 点赞 0 评论 380 浏览 评分:0.0
1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main() { int n = 0, s = 0; …… 题解列表 2022年10月07日 1 点赞 0 评论 370 浏览 评分:0.0