[编程入门]温度转换-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std ;int main(){ float f ; c…… 题解列表 2020年08月10日 0 点赞 0 评论 1472 浏览 评分:5.6
数字整除-题解(C++代码) 摘要:解题思路:注意要考虑大数的储存,我用的是,字符转数字的方法。而且解题考虑最终结果就好,过程尽量简单。注意事项:参考代码:#include <iostream>#include <cstring>usi…… 题解列表 2020年08月25日 0 点赞 0 评论 1396 浏览 评分:5.6
蓝桥杯历届试题-数字游戏-题解(Java代码)最简化代码 摘要:import java.util.Scanner; public class Text { /** * @param args */ publ…… 题解列表 2021年01月12日 0 点赞 2 评论 988 浏览 评分:5.6
数列分段II题解(c++)——S05983 摘要:#include<bits/stdc++.h> using namespace std; int n,m,a[100005],l,r,mid,ans; inline bool check(int x)…… 题解列表 2021年11月17日 0 点赞 0 评论 1758 浏览 评分:5.6
编写题解 1192: 十->二进制转换 摘要:解题思路:注意事项:参考代码:while True: try: a=int(input()) if a>=0: print(f"{a}-->{bin(a)[2:]}") …… 题解列表 2022年02月16日 0 点赞 0 评论 891 浏览 评分:5.6
编写题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:print('%.2f'%abs(float(input()))) #print('{:.2f}'.format(abs(float(i…… 题解列表 2022年10月18日 1 点赞 0 评论 1675 浏览 评分:5.6
编写题解 2990: 十进制到八进制 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;import java.math.BigInteger;public class Main { public st…… 题解列表 2023年12月13日 0 点赞 11 评论 889 浏览 评分:5.6
数学问题:牛吃牧草 解题思路:设原本牧草量为z,每头牛每天吃x,每天生长为y15*x*20=20*y+z20*x*10=10*y+zz为无关变量消去z100x=10y10x=y所以够10头牛吃1天注意事项:参考代码: 题解列表 2023年12月17日 0 点赞 0 评论 1177 浏览 评分:5.6
程序员的表白 (C++代码) 摘要://两个for循环即可 #include <iostream> #include <cstdlib> #include <cmath> #include <deque> #include <…… 题解列表 2018年02月12日 0 点赞 0 评论 2367 浏览 评分:5.7
优质题解 C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:解题思路:详情请看代码注释注意事项:1、本程序不对序列全部元素相等的情况做处理,没意义。2、输入序列的排序情况不清楚,程序需要判断。3、待插入数据的插入位置有三个地方,分开处理 a:序列…… 题解列表 2018年04月28日 36 点赞 96 评论 17146 浏览 评分:5.7