12行:万花丛中过,片叶不沾身 摘要:解题思路:注意事项:参考代码:n=int(input())def rule(p1,p2): if p1==p2: return "Tie" elif (p1=="Scisso…… 题解列表 2024年07月25日 0 点赞 0 评论 532 浏览 评分:9.9
一元二次方程--------------C语言 摘要:解题思路:利用求根公式注意事项:导入数学库<math.h>参考代码:#include <stdio.h> #include <math.h> int main() { float a, b,…… 题解列表 2024年07月25日 0 点赞 0 评论 413 浏览 评分: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 评论 335 浏览 评分:9.9
无敌妈妈存钱计划!!!!!!!!!!!!!!!! 摘要:解题思路:数组存储接收变量注意事项:参考代码:/* residue[0]=300-budget; residue[1]= 循环//residue[0]+300-budget[1];// …… 题解列表 2024年07月28日 0 点赞 0 评论 378 浏览 评分:9.9
不使用数组,只用循环 摘要:**解题思路** 不使用数组,首先使用一个循环遍历1到n的数。 然后自定义一个函数来判断每一个数是不是完数,假如是,就返回1.假如不是,就返回0。 在主函数的循环里,对函数的返回值进行判定,判定…… 题解列表 2024年07月29日 0 点赞 0 评论 227 浏览 评分:9.9
[编程入门]第一个HelloWorld程序(c++) 摘要:解题思路:直接输出"**************************\nHello World!\n**************************"就好了注意事项:"\n"是换行符号参考代码…… 题解列表 2024年07月29日 1 点赞 0 评论 428 浏览 评分:9.9
这个作弊也可以哟 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ cout<<"Glmre"; return 0;}…… 题解列表 2024年07月29日 8 点赞 0 评论 917 浏览 评分:9.9
----------------------------------在校门口挖吖挖+++++++++++++++++++++ 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h> /* 用 1 表示树, 用 0 表示是被挖走,即坑。 */ int main() …… 题解列表 2024年07月29日 0 点赞 0 评论 137 浏览 评分:9.9
----------------杨辉三角------------woc--------杨辉三角-----------woc---------卧槽 摘要:解题思路:无注意事项:无参考代码:#include <stdio.h> int main() { int n; while (~scanf("%d", &n)){ int nu…… 题解列表 2024年07月29日 0 点赞 0 评论 375 浏览 评分:9.9
简单易懂的链表合并 摘要:```c #include #include typedef struct node { int id, studemtid; struct node* next; }link;…… 题解列表 2024年07月30日 2 点赞 0 评论 318 浏览 评分:9.9