[编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define LEAP_YEAR(y) yearint main(){ int year=0;&…… 题解列表 2025年09月19日 0 点赞 0 评论 380 浏览 评分:0.0
[编程入门]宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define big_num ((a>b?a:b)>c?(a>b?a:b):c)int main(){&…… 题解列表 2025年09月19日 0 点赞 0 评论 330 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>float x1, x2;void dayu0(float a, float…… 题解列表 2025年09月19日 0 点赞 0 评论 483 浏览 评分:0.0
二级C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;double fac(int a){ i…… 题解列表 2025年09月20日 0 点赞 0 评论 311 浏览 评分:0.0
汽水瓶简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; while(cin>>n &am…… 题解列表 2025年09月20日 1 点赞 0 评论 378 浏览 评分:0.0
2913: 整数去重 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年09月21日 0 点赞 0 评论 287 浏览 评分:0.0
2914: 铺地毯 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年09月22日 0 点赞 0 评论 283 浏览 评分:0.0
1231: 杨辉三角 简洁 可读性高 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>usingnamespacestd;in…… 题解列表 2025年09月22日 0 点赞 0 评论 342 浏览 评分:0.0
1807: [编程基础]输入输出练习之格式控制 摘要:注意事项:每个字符都要占八个位置参考代码:#include<stdio.h>intmain(){inta,b,c;&…… 题解列表 2025年09月24日 7 点赞 0 评论 824 浏览 评分:0.0
2799: 奥运奖牌计数 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n; int a…… 题解列表 2025年09月24日 0 点赞 0 评论 325 浏览 评分:0.0