整除问题——python解法 摘要:解题思路:水题注意事项:参考代码:min,max,f=map(int,input().split())for i in range(min,max+1): if i%f==0: p…… 题解列表 2022年10月19日 0 点赞 0 评论 406 浏览 评分:0.0
1141: C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { for(int i = 0; i < 20; i++) for(int j…… 题解列表 2022年10月19日 0 点赞 0 评论 375 浏览 评分:0.0
编写题解 1810: [编程基础]输入输出练习之精度控制3 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char char_1; int number_1; float float_1; do…… 题解列表 2022年10月19日 0 点赞 0 评论 363 浏览 评分:0.0
简单明了,一眼看懂 摘要:解题思路:使用函数分步解决注意事项:若找不到这样的数则print(-1)参考代码:#判断是否是回文 def isPalindrome(num): temp=int(str(num)[::-…… 题解列表 2022年10月19日 0 点赞 0 评论 468 浏览 评分:0.0
swap () :交换两个变量值 摘要:解题思路: 使用 STL 算法:swap(),交换两个元素注意事项:参考代码:#include<iostream>using namespace std;#define myswap(x,y) (s…… 题解列表 2022年10月19日 0 点赞 0 评论 386 浏览 评分:0.0
题目 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int tao(int n,int sum){ if(n--) sum=(tao(n,sum)+1)*2; else sum=1; r…… 题解列表 2022年10月19日 0 点赞 0 评论 447 浏览 评分:0.0
一看就会的数字逆序输出 摘要:解题思路:定义两个数组,一个存放原数列,一个存放逆序后的数列注意事项:参考代码:#include<stdio.h>void main(){ int i,a[10],b[10],k; for…… 题解列表 2022年10月19日 0 点赞 0 评论 353 浏览 评分:0.0
初学者思维解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a[1000]; int i,m,n,j; scanf("%d\n"…… 题解列表 2022年10月19日 0 点赞 0 评论 384 浏览 评分:0.0
新手题解,简明易懂 摘要:参考代码:#include<stdio.h> int main() { int t,a;//一个存当前值,一个存最大值 scanf("%d",&t); if(!(t+…… 题解列表 2022年10月19日 0 点赞 0 评论 346 浏览 评分:0.0
摩尔斯电码—(C语言)详细题解 摘要:解题思路:接收输入的字符串后,按照字符'|'来分割注意事项:输出结果应为小写的字符参考代码:#include<stdio.h>#include<string.h>int main(){…… 题解列表 2022年10月20日 0 点赞 0 评论 831 浏览 评分:0.0