C++代码带实参宏定义 摘要:解题思路:#define s(a,b,c) ((a+b+c)/2)#define area(a,b,c,s) sqrt(s(a,b,c)*(s(a,b,c)-a)*(s(a,b,c)-b)*(s(a,…… 题解列表 2021年12月28日 0 点赞 0 评论 469 浏览 评分:0.0
C++宏定义求余数 摘要:解题思路:#define remainder a%b注意事项:暂时不明参考代码:#include<iostream>#include<string>using namespace std;#defin…… 题解列表 2021年12月28日 0 点赞 0 评论 788 浏览 评分:0.0
C++代码带参宏定义的使用 摘要:解题思路:关于带参宏定义的使用https://blog.csdn.net/liufuchun111/article/details/84285629注意事项:暂时不明参考代码:#include<ios…… 题解列表 2021年12月28日 0 点赞 0 评论 770 浏览 评分:6.0
1147: C语言训练-角谷猜想 摘要:解题思路:很有意思的一个猜想,在上世纪七十年还成为了一股风靡数学界的潮流,现在已经知道在7*10^11的数值里面角谷猜想都是成立的,不过如果无法在数学的角度给出证明,他只能停留在猜想的层面。如果有人能…… 题解列表 2021年12月28日 0 点赞 0 评论 1323 浏览 评分:9.9
1584: 蓝桥杯算法训练VIP-判定字符位置(python) 摘要:解题思路:注意事项:参考代码:let =['a','e','i','o','u'] s = input() sum …… 题解列表 2021年12月28日 0 点赞 0 评论 447 浏览 评分:9.9
使用set来统计数 摘要:解题思路:注意事项:参考代码:a=int(input())b=input().split()m=[]for i in range(0,len(b)): m.append(int(b[i]))n=…… 题解列表 2021年12月28日 0 点赞 0 评论 429 浏览 评分:0.0
1672: 迷宫问题-C语言 摘要:```c //迷宫问题 //此篇看着题解中另外一位佬写出来的,记录一下自己的做题 #include #include #include #define N 100 #define …… 题解列表 2021年12月28日 0 点赞 0 评论 550 浏览 评分:9.9
1673: 数据结构-集合union-C语言 摘要:```c //集合union #include #include typedef struct node { int data; struct node *next;…… 题解列表 2021年12月28日 0 点赞 0 评论 766 浏览 评分:7.3
A+B for Input-Output Practice (II)-题解(C语言代码) 摘要:#include <stdio.h> int main() { int n, a, b; scanf("%d", &n); while( n-- ){ scanf( "%d%d"…… 题解列表 2021年12月28日 0 点赞 0 评论 501 浏览 评分:9.3
数对直接输出结果 摘要:解题思路:注意事项:参考代码:a=int(input())for i in range(1,a+1): if a%i==0: print(str(i)+" * "+str(int(…… 题解列表 2021年12月28日 0 点赞 0 评论 495 浏览 评分:0.0