题解 1127: C语言训练-尼科彻斯定理(C——找到规律很好解) 摘要:解题思路:主要就是找到第一个数字的规律:a1=n*n-n+1参考代码:#include<stdio.h> int main(void){ int n,product; int a,sum…… 题解列表 2022年08月26日 0 点赞 0 评论 404 浏览 评分:9.9
自定义函数求一元二次方程 摘要:解题思路:注意判别式小于0的情况注意事项:参考代码:#include<stdio.h>#include<math.h>void fun(float a,float b,float c){ float …… 题解列表 2022年08月26日 0 点赞 0 评论 434 浏览 评分:9.9
求大佬指点--解析在后面打字不易,恳请看完; 摘要:```c //解析在后面,打字实在不容易,恳请各位看完点赞 #include int main() { int n; scanf("%d", &n); double a1, a0,…… 题解列表 2022年08月26日 0 点赞 0 评论 607 浏览 评分:9.9
筛选N以内的素数c++代码实现 摘要:# 筛选N以内的素数c++代码实现 ###解题思路 **素数是什么?是除了1和本身之外,没有其他任何因数的数,所以我们只需要系一个程序,判断它是否有除1和本身之外的因数即可** ###代…… 题解列表 2022年08月26日 0 点赞 3 评论 332 浏览 评分:9.9
老哥们点评点评 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct s{ int id; int grade; stru…… 题解列表 2022年08月27日 0 点赞 0 评论 442 浏览 评分:9.9
小南解题--链表数据求和操作--64ms 摘要:aa=[]n1=n2=0for i in range(10): a,b=map(int,input().split()) n1+=a n2+=bprint('%d+%di&#…… 题解列表 2022年08月27日 0 点赞 0 评论 393 浏览 评分:9.9
信息学奥赛一本通T1330-最少步数(BFS) 摘要: #include using namespace std; int dx1[4] = {-2, -2, 2, 2}; int dy1[4] = {-2…… 题解列表 2022年08月27日 3 点赞 0 评论 853 浏览 评分:9.9
尾插法创建链表、选择排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <malloc.h> typedef struct student { int id; int …… 题解列表 2022年08月28日 0 点赞 0 评论 387 浏览 评分:9.9
1083: Hello, world! 摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout…… 题解列表 2022年08月28日 0 点赞 0 评论 490 浏览 评分:9.9
三个数字排大小,忙人解法^-^。 摘要:解题思路:多次使用if else嵌套来判断三个数的大小。注意事项:无。参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,zh; s…… 题解列表 2022年08月29日 0 点赞 2 评论 259 浏览 评分:9.9