12行:万花丛中过,片叶不沾身 摘要:解题思路:注意事项:参考代码:n=int(input())def rule(p1,p2): if p1==p2: return "Tie" elif (p1=="Scisso…… 题解列表 2024年07月25日 0 点赞 0 评论 649 浏览 评分:9.9
一元二次方程--------------C语言 摘要:解题思路:利用求根公式注意事项:导入数学库<math.h>参考代码:#include <stdio.h> #include <math.h> int main() { float a, b,…… 题解列表 2024年07月25日 0 点赞 0 评论 549 浏览 评分:9.9
二维数组的转置及C代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a[3][3],count=0; for(i=0;i<3;i++) { for…… 题解列表 2024年07月27日 1 点赞 0 评论 440 浏览 评分:9.9
无敌妈妈存钱计划!!!!!!!!!!!!!!!! 摘要:解题思路:数组存储接收变量注意事项:参考代码:/* residue[0]=300-budget; residue[1]= 循环//residue[0]+300-budget[1];// …… 题解列表 2024年07月28日 0 点赞 0 评论 448 浏览 评分:9.9
不使用数组,只用循环 摘要:**解题思路** 不使用数组,首先使用一个循环遍历1到n的数。 然后自定义一个函数来判断每一个数是不是完数,假如是,就返回1.假如不是,就返回0。 在主函数的循环里,对函数的返回值进行判定,判定…… 题解列表 2024年07月29日 0 点赞 0 评论 304 浏览 评分:9.9
这个作弊也可以哟 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ cout<<"Glmre"; return 0;}…… 题解列表 2024年07月29日 8 点赞 0 评论 1127 浏览 评分:9.9
----------------------------------在校门口挖吖挖+++++++++++++++++++++ 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h> /* 用 1 表示树, 用 0 表示是被挖走,即坑。 */ int main() …… 题解列表 2024年07月29日 0 点赞 0 评论 231 浏览 评分:9.9
----------------杨辉三角------------woc--------杨辉三角-----------woc---------卧槽 摘要:解题思路:无注意事项:无参考代码:#include <stdio.h> int main() { int n; while (~scanf("%d", &n)){ int nu…… 题解列表 2024年07月29日 0 点赞 0 评论 472 浏览 评分:9.9
简单易懂的链表合并 摘要:```c #include #include typedef struct node { int id, studemtid; struct node* next; }link; …… 题解列表 2024年07月30日 2 点赞 0 评论 403 浏览 评分:9.9
~~~~~~~~~~~~~~~可爱的津津乐道+++++++++++ 摘要:解题思路://通过数组来存放数据,然后再拿来比较注意事项://如何判断那一天最不高兴参考代码:#include<stdio.h> int main() { int a[8]={[0]=0…… 题解列表 2024年07月30日 0 点赞 0 评论 322 浏览 评分:9.9