Tom数的题解 为什么老说我标题短 摘要:解题思路:字符串注意事项:无参考代码:#include <iostream>#include<string.h>using namespace std;int main(){ int sum =…… 题解列表 2023年04月19日 0 点赞 0 评论 703 浏览 评分:9.9
水仙花数问题2 摘要:解题思路:注意事项:参考代码:for n in range(100,1000): a=n%10 #个位 b=int(n/10)%10 #十位 int()强转:强转成整数 c…… 题解列表 2023年04月19日 1 点赞 0 评论 660 浏览 评分:9.9
题目 1051: [编程入门]结构体之成绩统计2 #include#includestructstudent{//定义学生结构体,包含学号、姓名、三科成绩charid[20];//学号charname[20];//姓名intscore[3];//三科成绩};intmain(){intn;scanf("%d", 题解列表 2023年04月19日 0 点赞 0 评论 688 浏览 评分:9.9
给用Java的开拓一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年04月19日 0 点赞 0 评论 882 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n…… 题解列表 2023年04月19日 0 点赞 0 评论 702 浏览 评分:9.9
编写题解 1670: 拆分位数 摘要:解题思路:方法一:我们可以定义一个字符串。注意事项:参考代码:#include<iostream> using namespace std; string n; int main() { …… 题解列表 2023年04月19日 0 点赞 0 评论 854 浏览 评分:9.9
水仙花数判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,d; for(a=100;a<1000;a++) { b=…… 题解列表 2023年04月20日 0 点赞 0 评论 598 浏览 评分:9.9
2939: 最匹配的矩阵 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int SUM(int r,int s,int a[r][s],int b[r][s]){ …… 题解列表 2023年04月20日 0 点赞 0 评论 994 浏览 评分:9.9
聪明的美食家_c 摘要: #include int main() {//主要思路:从前往后遍历小吃 第一家小吃默认为最大次数1 之后求出每个小吃的最大爽的次数 int n; scanf("%d", &n)…… 题解列表 2023年04月20日 0 点赞 0 评论 946 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数(c语言) ```c//这个算法是有规律的就拿题目给的例子来说//99=2*3*3*5//从2开始遍历数组每次找到他的第一个因子//90/2=4545/3=1515/3=55/5=190=2*3*3*5//66/2=3333/3=1111/11=166=2*3*11#include//将一个正整数N(1 题解列表 2023年04月20日 0 点赞 0 评论 754 浏览 评分:9.9 « 12...5437543854395440544154425443...59245925 »