题解列表

筛选

数字后移(基础思路)

摘要:解题思路:两个数组,a[]保存原始输入值,b[]的头存a[]的尾,最后将a[]的后半部分给b[];注意事项:参考代码:#include<iostream>using namespace std;int……

真 小白做法

摘要:解题思路:注意事项:参考代码:int x,i=0;    scanf("%d",&x);    int y=x;    while(x!=0){        x/=10;        i++;  ……

利用strlen函数即可求解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void fun1(char  charater[100]){    int i;    i=str……

完全背包问题

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxs 110#define maxb 10#define max……

蓝桥杯算法训练VIP-拦截导弹

摘要:解题思路:注意事项:参考代码:public class Tdd {     public static void main(String[] args) {         Scanner sc ……

三个数排序

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