题解 1402: 简单的字符串

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1402: 简单的字符串

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll; int main(){    int ……

1402: 简单的字符串

摘要:#include<stdio.h> #include<string.h> int main() { int n,i,len;char str[10000]; scanf("%d\n",&n)……

简单的字符串

摘要:解题思路:用字典去重注意事项:参考代码:n = int(input())for i in range(n):    L = list(input())    dic = {}    for i in ……

简单的字符串

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){       int n=0;    scanf("%d",&n);    g……

搞懂map自定义排序

#include#includeusingnamespacestd;//mapa相当于mapa;//如果是mapa,char由大到小排序//自定义排序structcmp{booloperator()(constchar&a,constchar&b)const{returna

map集合(简单易懂)

解题思路:注意事项:参考代码:importjava.util.HashMap;importjava.util.Map;importjava.util.Map.Entry;importjava.util.Scanner;publicclassMain{publicstaticvoidmain(Strin