【sor魔法再现】1141: 百钱百鸡---史上最短AC代码,sor一行流!三层for循环嵌套+两个条件判断+一个字符串打印+外面python列表推导式一套,3、2、1,搞定 摘要:解题思路:【sor魔法再现】1141: 百钱百鸡---史上最短AC代码,sor一行流!三层for循环嵌套+两个条件判断+一个字符串打印+外面python列表推导式一套,搞定标题就是思路,而且已经是分解…… 题解列表 2021年12月02日 0 点赞 0 评论 969 浏览 评分:7.6
编写题解 1574: 蓝桥杯算法提高VIP-选择排序 摘要:#include<iostream> using namespace std; int main() { int n,j,i,min,flag,x; cin>>n; …… 题解列表 2021年12月02日 0 点赞 0 评论 285 浏览 评分:0.0
字符串的修改(c语言) 摘要:```c #include #include #include #include int main() { int i,j=0; int x,x1,t,num=0;…… 题解列表 2021年12月02日 0 点赞 0 评论 617 浏览 评分:0.0
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double m,n,h=0.0,l,s; cin>>m>…… 题解列表 2021年12月02日 0 点赞 0 评论 283 浏览 评分:0.0
10个乱序数据的选择排序 摘要:解题思路:注意事项:数组长度为10,但是从0开始计数的参考代码:#include <stdio.h>int main(){ int i,j,t,a[10]; //定义变量及数组为基本整型 …… 题解列表 2021年12月02日 0 点赞 0 评论 436 浏览 评分:0.0
数字逆序输出的写法 摘要:解题思路: 一次输入10个数字,则定义一个数组元素为10的数组;后利用从右往左递降输出即可注意事项:数组长度为10,所以数组下标从0开始参考代码:#include<stdio.h>int m…… 题解列表 2021年12月02日 0 点赞 0 评论 868 浏览 评分:9.9
蛇行矩阵-------(python) 摘要:```python n=int(input()) a=1 #是第一个数 d=0 #列是从1开始加 s=1 while n>0:#循环五次 b=0 #将b重置 b+=s #…… 题解列表 2021年12月02日 0 点赞 0 评论 486 浏览 评分:0.0
二级C语言-阶乘公式求职 摘要:#include <stdio.h> double fack(int k) { int i; double sum=1.0; for(i=1;i<=k;i++) …… 题解列表 2021年12月02日 0 点赞 2 评论 794 浏览 评分:9.9
跟着思路写就好了 摘要:#include <stdio.h> int main() { float score; int dydy85=0,dydy60=0,xy60=0; scanf("%…… 题解列表 2021年12月02日 0 点赞 3 评论 676 浏览 评分:4.0
所有递归都可以用列表来解决,1004: [递归]母牛的故事 摘要:解题思路:注意事项:参考代码:while True: n = int(input()) list = [0,1,2,3,4] if n == 0: break elif n <= 4: p…… 题解列表 2021年12月02日 0 点赞 0 评论 416 浏览 评分:0.0