牛吃牧草chichichi 摘要:牛吃牧草 牧草每天都在匀速生长,牧场可供15头牛吃20天,或20头牛吃10天,那么牧场每天新生的草供几头牛吃1天?解题思路:牛cattle 草grass 天day假设1c吃1g/1d;15c=20d*…… 题解列表 2023年10月05日 0 点赞 0 评论 1210 浏览 评分:7.3
判断是否为两位数 摘要:解题思路:即大于等于10且小于等于99 换成c语言即n>=10&&n<=99注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&…… 题解列表 2023年10月04日 0 点赞 1 评论 256 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:#include<stdio.h>int main(){ int i,max_sign=0,max,min_sign=0,min,a[10]; for(i=0;i<10…… 题解列表 2023年10月04日 0 点赞 1 评论 185 浏览 评分:9.9
输入两小时,计算五分钟 摘要:解题思路: 这数据输入,每行的最后一个字符是'\n',但是最后一行的最后一个字符是啥不知道,反正不是空格,也不是换行。注意事项: 贴的代码乱乱的,去这看吧:https://www.…… 题解列表 2023年10月04日 0 点赞 0 评论 324 浏览 评分:0.0
高精度加法(vector) c++ 简单易懂 摘要:#include <iostream> #include <vector> using namespace std; vector<int> add(vector<int> &x,vector<…… 题解列表 2023年10月04日 0 点赞 0 评论 249 浏览 评分:9.9
The 3n + 1 problem(乐,别忘了i和j的值要比下大小,再使用,还有如果i如果大于j的话,你交换了他们的值,但最终结果输出i和j必须是输入的i和j) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d",&a,&b)) { i…… 题解列表 2023年10月04日 0 点赞 0 评论 144 浏览 评分:0.0
学英语的题,看懂题目就赢 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; while(~scanf("%d",&n)&&n!=0) { in…… 题解列表 2023年10月04日 0 点赞 0 评论 190 浏览 评分:0.0
2854: 密码翻译 摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2023年10月04日 0 点赞 0 评论 171 浏览 评分:0.0
过河卒 python 摘要:n,m,cx,cy=list(map(int,input().split()))dp=[[0 for x in range(m+1)]for y in range(n+1)]b=[[0 for x i…… 题解列表 2023年10月04日 0 点赞 0 评论 503 浏览 评分:9.9
我这个巨简单 摘要:# 读取输入 L, M = map(int, input().split()) road = [0] * (L + 1) # 创建一个长度为 L+1 的数组,用于表示马路上的树 # 处理区…… 题解列表 2023年10月04日 0 点赞 0 评论 376 浏览 评分:9.9