2789: 骑车与走路Python 摘要:解题思路:注意事项:参考代码:a=int(input())bike=(a/3)+27+23walk=a/1.2if bike>walk: print('Walk')elif bi…… 题解列表 2023年11月18日 0 点赞 0 评论 318 浏览 评分:6.0
治炼金属python题解 摘要:解题思路:注意事项:参考代码:N=int(input())V1 = []V2 = []for i in range(N): A,B=map(int,input().split()) V1.…… 题解列表 2023年11月18日 0 点赞 1 评论 540 浏览 评分:9.9
[编程入门]报数问题,Java用递归的思想,将数组模拟成一个圈 摘要:解题思路:循环实现,将数组模拟成一个圈注意事项:大佬帮忙看看优化,指正思路;参考代码:import java.util.Scanner;public class Demo01 { public …… 题解列表 2023年11月18日 0 点赞 0 评论 259 浏览 评分:9.9
希望大哥们指点指点 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gongyueshu(int min,int a,int b){ int gongyue; for(int i=mi…… 题解列表 2023年11月17日 0 点赞 0 评论 204 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[111],b[111];int main(){ int n,m; scanf("%d",&n); …… 题解列表 2023年11月17日 0 点赞 0 评论 128 浏览 评分:0.0
一个不错的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum=0; int a; scanf("%d",&a); for(int i=1;i<a;i++) …… 题解列表 2023年11月17日 0 点赞 0 评论 221 浏览 评分:0.0
没有比我更简单的了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; scanf("%d\n",&x); int a; scanf("%d",&a); int sum=…… 题解列表 2023年11月17日 0 点赞 0 评论 194 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:先输入10个值,然后将第一个与第十个位置对换,然后第二个与第九个,以此类推,及a[i]=a[9-i]。最后输出这是个值.注意事项:参考代码:#include<stdio.h>int main…… 题解列表 2023年11月17日 0 点赞 0 评论 178 浏览 评分:0.0
一个for循环即可!! 摘要:解题思路:1.妈妈会固定给的300元;2.自己每个月都会有预算;3.上个月除去整百给妈妈存的,小于100和妈妈给的三百就是当前自己有的。注意事项:参考代码:#include<bits/stdc++.h…… 题解列表 2023年11月17日 0 点赞 0 评论 299 浏览 评分:9.9
[编程入门]数组插入处理 (C语言) 摘要:解题思路:先输出九个值a[i],然后在输出第十个值a[9]。然后用a[9]和a[i]作比较,如果a[9]<a[i],则a[9]和a[i]位置对调,新的a[9]在与自该a[i]起的值做对比,重复上述步骤…… 题解列表 2023年11月17日 0 点赞 0 评论 215 浏览 评分:9.9