1161: 回文数(高精度) 摘要:解题思路: 高精度求和注意事项:参考代码:#include<iostream> using namespace std; const int N = 1e3 + 10; int a[N],b[N…… 题解列表 2024年09月01日 0 点赞 0 评论 244 浏览 评分:9.9
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define MAX_OF_THREE(a, b, c) ( (a) …… 题解列表 2024年09月01日 0 点赞 0 评论 256 浏览 评分:0.0
2914: 铺地毯 摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us…… 题解列表 2024年09月01日 0 点赞 0 评论 204 浏览 评分:9.9
宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define LEAP_YEAR(y) (((y) % 4 == 0 …… 题解列表 2024年09月01日 0 点赞 0 评论 323 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#include <math.h>#define AUM(a,b,c) …… 题解列表 2024年09月01日 0 点赞 0 评论 299 浏览 评分:0.0
输入两个整数,求他们相除的余数。用带参的宏来实现,编程序。 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define AUM(a,b) c=a%b;int main(){ …… 题解列表 2024年09月01日 0 点赞 0 评论 500 浏览 评分:0.0
定义一个带参的宏,使两个参数的值互换,并写出程序,输入两个数作为使用宏时的实参。输出已交换后的两个值。 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)// 定义一个带参的宏,用于交换两个数的值#define chang(a…… 题解列表 2024年09月01日 1 点赞 0 评论 752 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2024年09月01日 0 点赞 0 评论 473 浏览 评分:0.0
计算三角形面积 摘要:#include<stdio.h>#include<math.h> //主要是用pow函数double changdu(double x1,double x2,double y1,double y2)…… 题解列表 2024年08月31日 0 点赞 0 评论 256 浏览 评分:8.0
各位大佬看看我的 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void SumAge(char a[4]) { for (size_t i = 0; i <4; i++) { …… 题解列表 2024年08月31日 1 点赞 0 评论 183 浏览 评分:0.0