首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
hardwood专题
POJ 2418 Hardwood Species(map)
第一次接触map关联容器~\(≧▽≦)/~ 详情见http://blog.csdn.net/sunshumin/article/details/38034003 Hardwood Species Time Limit: 10000MS Memory Limit: 65536KTotal Submissions: 18080 Accepted: 7172 Descripti
阅读更多...
poj 2418 Hardwood Species --- 再来复习遍map吧
题目是统计字符串出现的频率,应该是用二分排序树做的吧。 这里 8000多ms。。 输入输出纠结死我了。。。 再记一遍 输入: map<int, string> mapStudent; 1、mapStudent.insert(pair<int, string>(1, “student_one”)); 2、mapStudent.insert(map<int, string>::
阅读更多...
poj 2418 Hardwood Species
题目链接:点击打开链接 Description Hardwoods (硬木) are the botanical (植物学的) group of trees that have broad leaves, produce a fruit or nut, and generally go dormant (休眠的) in the winter. America's tempera
阅读更多...
POJ-2418-Hardwood Species-字典树
统计各个单词占得比例 #include<stdio.h>#include<string.h>#include<stdlib.h>#include<algorithm>#include<iostream>using namespace std;int top, t=0;struct node{int next[130];int n;}pos[3500];struct n
阅读更多...