题解列表

筛选

Hello,World(C++代码)

摘要:#include<iostream> using namespace std; int main(){ return 0; }解题思路:无,上面的是标准头文件注意事项:几个星号需打参考代码……

小白,看看就行,不动脑袋

摘要:解题思路:注意事项:参考代码:小白菜鸟写的,看看就好#include<iostream>using namespace std;int main(){    int arr[1000];    int……

找第一个只出现一次的字符

摘要:解题思路:写题解代码只是为了自己查看,无严谨性注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char s[100000];  ……

数组逆序重放

摘要:解题思路:随便写写,这题目比较常见,故而写题解方便自己查阅注意事项:参考代码:#include<stdio.h>int main(){    int n;    scanf("%d",&n);    ……

完数的判断C语言

摘要:解题思路:这个思路我都写在代码里了每段代表什么,如果有哪里不懂,欢迎评论区见注意事项:我用i*i<n是因为他因子一般成对出现,可以优化算法,让算法的运行速度更快参考代码:#include <stdio……

逆天解法,包得吃的。

摘要:解题思路:注意事项:自己看参考代码:#include<stdio.h> int main(){ int arr[101],i,j,a,b,c; for(i=0;i<100;i++) { arr[i]……

高精度乘法

摘要:#include"bits/stdc++.h" using namespace std; int main(){     string s1,s2;     int a1[100000],a2……