题解列表

筛选

一个二维数组+一个for循环搞定

解题思路:本质上是Trie树注意事项:参考代码:#includeusingnamespacestd;constintN=100010;intson[N][26]={0};intidx=0;charstr[N];intcount=0;intmain(){while(scanf("%s",

Sn公式求和记录

摘要:解题思路:用了math.h头文件里的pow()函数来求n次方注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int m=2……

最简单写法c++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h = 1189; int t = h; int w = 84……