题解 1119: C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int num,o,t,h; scanf("%d",&num…… 题解列表 2021年06月29日 0 点赞 0 评论 414 浏览 评分:8.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:a = [[0 for i in range(3)] for j in range(3)]z = f = 0for i in range(3): a[i] = in…… 题解列表 2021年07月05日 0 点赞 0 评论 506 浏览 评分:8.0
1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); if(a>b) …… 题解列表 2021年07月05日 0 点赞 0 评论 1027 浏览 评分:8.0
c语言计算素数和 摘要:解题思路:判断素数,相加所有素数。注意事项:参考代码:#include<stdio.h>#include<math.h>int isprime(int x);int main(){ int m,n; …… 题解列表 2021年07月21日 0 点赞 0 评论 525 浏览 评分:8.0
弟弟的作业---------------------------------------- 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int a, b; char A, B[10]; int k = 0; while (scanf("%d%c…… 题解列表 2021年07月25日 0 点赞 0 评论 505 浏览 评分:8.0
2551: 作文(这题难度是不是标错了) 摘要: #include #include int main() { int n,k,i,sl=0,sn=1;; char word[1005][…… 题解列表 2021年07月28日 0 点赞 0 评论 955 浏览 评分:8.0
自定义函数之整数处理 C++题解 摘要:解题思路输入数组每个元素后,找出最大值和最小值的下标,交换第一位和最小值,最后一位和最大值C++中min_element(a+n,a+m)和max_element(a+n,a+m)可以找出数组中最小值…… 题解列表 2021年08月02日 0 点赞 0 评论 680 浏览 评分:8.0
水仙花数判断 摘要:解题思路: 1.求水仙花数的关键是对个位上的数、十位上的数和百位上的数的寻找 1.1求个位上的数可以直接该数字对10取余。即为个位上的数 题解列表 2021年08月03日 0 点赞 0 评论 581 浏览 评分:8.0
c语言求解大小写问题 摘要:解题思路:求出2,22,222...就好办了。注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,a,n; long long t…… 题解列表 2021年08月07日 0 点赞 0 评论 442 浏览 评分:8.0
菜鸟解题,简单递归问题(一眼看不出递归的菜鸟) 摘要:解题思路: 如果仅看题目所给的3个输入值无法看出其递归特性,解题时可以先将之后几年的母牛数量写出 从1到9年分别是 1 2 3 4 6 9 13…… 题解列表 2021年08月09日 0 点赞 0 评论 602 浏览 评分:8.0