结构体之成绩统计2 --指针 摘要:#include<stdio.h> #include<string.h> typedef struct { char sno[20]; char name[20]; int gra…… 题解列表 2022年01月13日 0 点赞 0 评论 363 浏览 评分:0.0
通过c语言的指针来访问和运算 摘要:#include<stdio.h> #include<string.h> typedef struct{ int year; int month; int day; }DAY,*SD…… 题解列表 2022年01月13日 0 点赞 0 评论 337 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:因数和数组要在循环内初始化参考代码:#include<stdio.h>int main() { int n,i,j,t; scanf("%d",&n); for(…… 题解列表 2022年01月13日 0 点赞 0 评论 477 浏览 评分:0.0
没找规律,暴力求解 摘要:#include<stdio.h> #include<math.h> #include<string.h> int main(){ long m; scanf("%ld",&m); …… 题解列表 2022年01月13日 0 点赞 0 评论 395 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:1.公式2.大小顺序输出注意事项:参考代码:#include<iostream> #include<math.h> #include<iomanip> using namespace …… 题解列表 2022年01月13日 0 点赞 0 评论 416 浏览 评分:0.0
1184众数问题 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Demo1184 { public static void main(String[] arg…… 题解列表 2022年01月13日 0 点赞 0 评论 369 浏览 评分:0.0
1482: 蓝桥杯算法提高VIP-Pascal三角 摘要:解题思路: 1.初始化左列和主对角线 2.计算杨辉三角 3.格式输出注意事项: 第三点:格式 setw(int n)是c++中在输出操作中使用的字段宽度设置,设置输出的域宽…… 题解列表 2022年01月13日 0 点赞 0 评论 413 浏览 评分:0.0
1481: 蓝桥杯算法提高VIP-剪刀石头布 摘要:解题思路: 本题一次过 1.善于发现规律注意事项:参考代码:#include<iostream> using namespace std; int main(){ int a…… 题解列表 2022年01月14日 0 点赞 0 评论 580 浏览 评分:0.0
1480: 蓝桥杯算法提高VIP-模拟计算器 摘要:解题思路: 1.使用if-else方法 2.使用switch方法注意事项: 使用while多次测试参考代码://if-else方法 #include<iostream> usin…… 题解列表 2022年01月14日 0 点赞 0 评论 526 浏览 评分:0.0
觉得现有的c++题解太麻烦所以来分享一下 摘要:解题思路:一道小水题,却浪费了我很长时间,还是自己做题的思维有待提高,这个规律很容易看出来,就是a/b 然后下一项就是a+b除以a注意事项:用代码实现的话需要稍作思考,我一开始写的是错的直接循环然后a…… 题解列表 2022年01月14日 0 点赞 0 评论 445 浏览 评分:0.0