数字整除(python代码) 摘要:def judge(x): c = len(x) x = list(x) e = int(x[c-1]) del(x[c-1]) x = '& 题解列表 2023年01月12日 0 点赞 0 评论 282 浏览 评分:0.0
题目 1511: 蓝桥杯算法提高VIP-复数求和 摘要:解题思路:从键盘读入n个复数(实部和虚部都为整数)用链表存储,遍历链表求出n个复数的和并输出。注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef …… 题解列表 2023年01月12日 0 点赞 0 评论 391 浏览 评分:0.0
输出最高分数的学生姓名 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ int score; char name[100];}a[1000];int main(){…… 题解列表 2023年01月12日 0 点赞 0 评论 347 浏览 评分:0.0
选择排序思想解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<windows.h>int main(){ int l,m,min; …… 题解列表 2023年01月12日 0 点赞 0 评论 375 浏览 评分:0.0
编写题解 1130: C语言训练-数字母(利用cctype) 摘要:解题思路:我看了一下题解,好像用ctype系列的题解暂时没有。这里就暂且引入一下ctype,操作就稍稍简单一点。ctype.h是C标准函数库中的头文件,定义了一批C语言字符分类函数(C charact…… 题解列表 2023年01月12日 0 点赞 0 评论 412 浏览 评分:0.0
容易看懂c语言 摘要:解题思路:两个数据有联系,用结构体 ,用冒泡法排序注意事项:交换的中间变量要为相同的结构体类型参考代码:#include<stdio.h>#include<string.h>typedef struc…… 题解列表 2023年01月13日 0 点赞 0 评论 467 浏览 评分:0.0
两种方法编写题解 1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<iomanip>using namespace std;int main() { …… 题解列表 2023年01月13日 0 点赞 0 评论 379 浏览 评分:0.0
数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[100],j; scanf("%d",&n); for(i=0;i<…… 题解列表 2023年01月13日 0 点赞 0 评论 542 浏览 评分:0.0
亲和数(二维数组) 摘要:解题思路:利用函数求出所传值的各因子之和注意事项:参考代码:#include<stdio.h>int s(int n){ int sum=0; for(int i=1;i<n;…… 题解列表 2023年01月13日 0 点赞 0 评论 378 浏览 评分:0.0
满足条件的数累加 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i,s=0; scanf("%d%d",&m,&n); for(i…… 题解列表 2023年01月13日 0 点赞 0 评论 356 浏览 评分:0.0