编写题解 1182: 人民币问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int money,approach=0; while(scanf("%d",&money)!=EOF)…… 题解列表 2022年05月11日 0 点赞 0 评论 396 浏览 评分:0.0
编写题解 1183: 人见人爱A+B 无 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void add_A_B( long *A, long *B ); int main(){ long A[3], B[…… 题解列表 2022年05月11日 0 点赞 0 评论 441 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算 摘要:import java.io.*; /** * 规律: * 高度 1000,第 5 次: * 1000 / 2 / 2 / 2 / 2 / 2 = 31.25 * 1000 + …… 题解列表 2022年05月11日 0 点赞 0 评论 485 浏览 评分:0.0
1020: [编程入门]猴子吃桃的问题 摘要:import java.io.*; /** * 从第 N 天剩下一个桃子时退回第一天 */ public class Main { public static Buffe…… 题解列表 2022年05月11日 0 点赞 0 评论 729 浏览 评分:0.0
1021: [编程入门]迭代法求平方根 摘要:import java.io.*; public class Main { public static BufferedReader in = new BufferedReader(n…… 题解列表 2022年05月11日 0 点赞 0 评论 442 浏览 评分:0.0
数组的距离题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; int ans; cin…… 题解列表 2022年05月11日 0 点赞 0 评论 359 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:import java.io.*; /** * 主对角线元素行坐标等于列坐标,副对角线元素行坐标加列坐标等于阶数减一。 */ public class Main { pu…… 题解列表 2022年05月11日 0 点赞 0 评论 400 浏览 评分:0.0
Tom数(C语言) 摘要:解题思路:Tom数是各个位数之间求和的结果,所以可以采用进制转化的思路来做注意事项:题目里没有说明到底要输入几行,这里是一个坑,可以使用循环来解决参考代码:#include<stdio.h>long …… 题解列表 2022年05月11日 0 点赞 0 评论 524 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串编辑 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char s[50]; char order,c…… 题解列表 2022年05月11日 0 点赞 0 评论 422 浏览 评分:0.0
不知道写啥 摘要:解题思路:把分母和分子拆开看注意事项:保留小数点后两位,注意定义类型参考代码:#include<iostream>#include<cmath>#include<iomanip>using names…… 题解列表 2022年05月11日 0 点赞 0 评论 385 浏览 评分:0.0