ASC||的值,···········&mid 摘要:解题思路:无注意事项: 通过定义整数类型来接受字符的ACS码值 参考代码:无#include<stdio.h> int main() { char mycha…… 题解列表 2024年07月24日 1 点赞 0 评论 890 浏览 评分:9.9
优质题解,回归真神的初始途径 摘要:解题思路:利用列表[]的有序性和list函数的有序性,可以一一对应注意事项:参考代码:# 图书价格列表prices = [ 28.9, # 计算概论 32.7, # 数据结构与算法 …… 题解列表 2024年07月25日 0 点赞 0 评论 650 浏览 评分:9.9
12行:万花丛中过,片叶不沾身 摘要:解题思路:注意事项:参考代码:n=int(input())def rule(p1,p2): if p1==p2: return "Tie" elif (p1=="Scisso…… 题解列表 2024年07月25日 0 点赞 0 评论 851 浏览 评分:9.9
一元二次方程--------------C语言 摘要:解题思路:利用求根公式注意事项:导入数学库<math.h>参考代码:#include <stdio.h> #include <math.h> int main() { float a, b,…… 题解列表 2024年07月25日 0 点赞 0 评论 727 浏览 评分: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 评论 617 浏览 评分:9.9
无敌妈妈存钱计划!!!!!!!!!!!!!!!! 摘要:解题思路:数组存储接收变量注意事项:参考代码:/* residue[0]=300-budget; residue[1]= 循环//residue[0]+300-budget[1];// …… 题解列表 2024年07月28日 0 点赞 0 评论 695 浏览 评分:9.9
不使用数组,只用循环 **解题思路**不使用数组,首先使用一个循环遍历1到n的数。然后自定义一个函数来判断每一个数是不是完数,假如是,就返回1.假如不是,就返回0。在主函数的循环里,对函数的返回值进行判定,判定是完数,就再使用一个循环,将其因子输出。具体看代码注释```c#includeintfun(intn){intsu 题解列表 2024年07月29日 0 点赞 0 评论 490 浏览 评分:9.9
----------------------------------在校门口挖吖挖+++++++++++++++++++++ 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h> /* 用 1 表示树, 用 0 表示是被挖走,即坑。 */ int main() …… 题解列表 2024年07月29日 0 点赞 0 评论 449 浏览 评分:9.9
----------------杨辉三角------------woc--------杨辉三角-----------woc---------卧槽 摘要:解题思路:无注意事项:无参考代码:#include <stdio.h> int main() { int n; while (~scanf("%d", &n)){ int nu…… 题解列表 2024年07月29日 0 点赞 0 评论 657 浏览 评分:9.9
简单易懂的链表合并 ```c#include#includetypedefstructnode{intid,studemtid;structnode*next;}link;link*creat(intn){//创建链表,使用尾插法,参数可以使用题目的要求的链表元素数量intid, 题解列表 2024年07月30日 2 点赞 0 评论 596 浏览 评分:9.9