题解列表

筛选

呐,来扫雷吧

摘要:解题思路:创建一个长和宽均为原本长度+2的bool数组,可避免繁杂的边界讨论注意事项:参考代码:#include <iostream>#include <string.h>using namespac……

众数问题C++

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

这道题测试点有问题,草

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

普通方法(初学者方法)

摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![……

简单的字符串

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[10001],k; int i,j,n,l; scanf("%……

阶乘数列-记录一下

摘要:#include<stdio.h>int main(){    int i;    double j=1,sum=0;    for(i=1;i<=30;i++)    {        j =