百度之星——Problem D
来源:互联网 发布:淘宝店铺数据统计表 编辑:程序博客网 时间:2024/05/16 08:16
Problem D
Accepts: 2519
Submissions: 7501
Time Limit: 2000/1000 MS (Java/Others)
Memory Limit: 65536/65536 K (Java/Others)
#include <string>#include <algorithm>#include <stdio.h> #include <cstdio>#include <map>#include <cstring>using namespace std;char str[100005];map<string, int> num;int main(){int n,strlen1; scanf("%d",&n); while (n--){ scanf("%s", str); strlen1=strlen(str); sort(str,str + strlen1); printf("%d\n", num[str]); num[str]++; } return 0;}
0 0
- 百度之星——Problem D
- 百度之星-Problem D
- 2016"百度之星" - 资格赛 Problem D
- 2016"百度之星" - 资格赛 Problem D
- 2016-百度之星-资格赛-Problem D
- 2016"百度之星" - 资格赛————Problem D
- 2016"百度之星" - 资格赛(Astar Round1) Problem D
- 2016"百度之星" - 资格赛(Astar Round1) Problem D
- 2016 百度之星 Problem D (利用STL乱搞)
- 2016"百度之星" - 资格赛(Astar Round1)Problem D
- 2016"百度之星" - 资格赛(Astar Round1)Problem D
- 2016年百度之星资格赛Problem D
- Problem D 2016"百度之星" - 资格赛(Astar Round1)
- HDU 5688:2016"百度之星" - 资格赛 Problem D
- hdu 5688 Problem D (2016"百度之星" - 资格赛(Astar Round1)——Map存储)
- 2016百度之星——D
- 百度之星资格赛——D题
- 2016"百度之星" - 资格赛(Astar Round1)Problem D(排序+map)
- [POJ2262]Goldbach's Conjecture
- asp.net 学习记录3
- 如何使用Apktool
- 如何在不影响原有aapt源码的情况下编译定制版aapt
- 337_house_robber_III
- 百度之星——Problem D
- Gson的使用
- 报错:GenerateSource 任务意外失败:未将对象引用设置到对象的实例
- maven--私服的搭建(Nexus的使用)
- Cookie
- Docker的另外15个命令
- 高精度加法——一步一步算法篇
- utilities(matlab)—— 合成数据(synthesis data)
- 【SSH网上商城项目实战17】购物车基本功能的实现