题解列表
阶乘差(阶乘一般都很大 直接上大范围类型)
摘要:```c
#include
unsigned long long int factorial(unsigned long long int n);
int main()
{
un……
个人觉得这解法是非常简单解法
摘要:解题思路我觉得代码能看懂,x=a/b,想要求x的最小,则x=a/(b+1)+1即可,x=a/b已经是最大的了。注意事项:参考代码:#include<iostream>#include<algorith……
删除重复元素(简单暴力循环)
摘要:```c
#include
void DelPack(char*);
int main()
{
char str[100] = { 0 };
gets(str);
DelPac……
蓝桥杯算法提高VIP-求指数
摘要:```c
#include
int main()
{
static int n, m;
scanf("%d%d", &n, &m);
int i = 1;
for (i = ……
java验证子串(indexOf方法)
摘要:解题思路:利用indexOf方法判断一个字符串是否是另一个的子串注意事项:参考代码:package ten;import java.util.Scanner;public class 验证子串 { ……
快速排序练习(c语言)
摘要:```c
#include
#include
#include
void quick_sort(int* arr, int start, int end);
int main()
{
……
题目 1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char a[520],b[520]; gets(a); ……