题解列表
蓝桥杯算法训练-出现次数最多的整数(Java)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;
public class Main{
public static void main(String[] ……
蓝桥杯算法提高VIP-夺宝奇兵(java)
摘要:解题思路注意事项:参考代码:import java.util.Scanner;
public class P1514 {
public static void main(String[] a……
自定义函数之数字分离
摘要: #include
#include
using namespace std;
void fun(int i)
{
int a, b, c, ……
自定义函数之字符提取
摘要: #include
#include
using namespace std;
void fun(char a[],char b[])
{
i……
自定义函数之字符串连接
摘要: #include
using namespace std;
void fun(string s1, string s2)
{
cout s1 >> ……
自定义函数之字符串反转
摘要: #include
#include
using namespace std;
void fun(char a[], char b[])
{
……
自定义函数求一元二次方程
摘要: #include
#include
#include
using namespace std;
float a, b, c, d, x1, x2;
……
自定义函数处理最大公约数与最小公倍数
摘要: #include
using namespace std;
int fun_a(int a, int b)
{
int r;
w……