题解列表

筛选

自由落体问题(简单C++)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() {     int n……

蓝桥杯2013年第四届真题-核桃的数量(简单算法java)

摘要:解题思路:题意为三个数求最小公倍数,选取三个数中最大的一个数,让最大的数不断乘(从1~n),判断最大的数乘完以后能不能够整除最初输入的三个数,如果可以就说明这个数是三个数的最小公倍数注意事项:先要找到……

2924: 明明的随机数

摘要:解题思路:注意事项:参考代码://桶排序 #include <stdio.h> int main() {     int n = 0, a = 0, sum = 0, t[1005] = {0……

JAVA完数的判断

摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Scanner;public class Main {    public……

舍罕王的失算(简单C++)

摘要:解题思路:注意事项:数值很大,但是在usigned long long int范围里面,因此可以用其存储参考代码:#include<iostream> using namespace std; i……

2923: 病人排队

摘要:解题思路:注意事项:参考代码://插入排序与字符串交换 #include <stdio.h> #include <string.h> int main() {     int n = 0, ……