编写题解 1040: [编程入门]实数的打印--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; scanf("%f",&a); for(int i=1;i<=3;i++){ for(…… 题解列表 2022年03月08日 0 点赞 0 评论 315 浏览 评分:0.0
编写题解 1039: [编程入门]宏定义之闰年判断--解题 摘要:解题思路:注意事项:参考代码:#include <iostream> #define LEAP_YEAR(y) leap(y) //替换为该子函数 using namespace std; char …… 题解列表 2022年03月08日 0 点赞 0 评论 439 浏览 评分:0.0
编写题解 1038: [编程入门]宏定义练习之三角形面积--解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define area sqrt(S*(S-a)*(S-b)*(S-c))#define S ((a+b+c)/2)usi…… 题解列表 2022年03月08日 0 点赞 0 评论 262 浏览 评分:0.0
编写题解 1037: [编程入门]宏定义的练习--解题 摘要:解题思路:注意事项:参考代码:#include <iostream>#define REMAINDER(num1, num2) (num1 % num2)using namespace std;int…… 题解列表 2022年03月08日 0 点赞 0 评论 260 浏览 评分:0.0
编写题解 1048: [编程入门]自定义函数之字符串拷贝--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<iostream>#include<string.h>using namespace std;int main(){ …… 题解列表 2022年03月08日 0 点赞 0 评论 539 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出C++ 摘要:```cpp #include using namespace std; int a[13] = { 0,31,28,31,30,31,30,31,31,30,31,30,31 }; bool…… 题解列表 2022年03月08日 0 点赞 0 评论 567 浏览 评分:0.0
编写题解 1036: [编程入门]带参数宏定义练习--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define change(a,b) t=a,a=b,b=tint main(){int a,b,t;scanf("%d%d",&a,…… 题解列表 2022年03月08日 0 点赞 0 评论 365 浏览 评分:0.0
编写题解 1035: [编程入门]自定义函数之字符类型统计--ctype.h库 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>#include <ctype.h>//字符串函数包含的头文件int main(){ int…… 题解列表 2022年03月08日 0 点赞 0 评论 398 浏览 评分:0.0
多项式输出题解 摘要:解题思路:注意事项:参考代码:import java.util.LinkedList;import java.util.Scanner;public class Main { public st…… 题解列表 2022年03月08日 0 点赞 0 评论 400 浏览 评分:9.9
最简单解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a, n; & 题解列表 2022年03月08日 0 点赞 1 评论 524 浏览 评分:9.9