![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法竞赛入门经典(第二版)-刘汝佳-第五章 C++与STL
DoubleHI-I
这个作者很懒,什么都没留下…
展开
-
UVA 10474 Where is the Marble?
Description Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would place the marbles one after another in ascending or原创 2016-08-11 09:01:22 · 170 阅读 · 0 评论 -
UVA 10815 Andy's First Dictionary
#include #include #include #include #include #include using namespace std; int main() { set dict; string s,t; while(cin>>s) { for(int i=0;i<s.length();i++) {原创 2016-08-11 09:17:57 · 200 阅读 · 1 评论 -
UVA156 Ananagrams
Description Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST. Some words however do not have t原创 2016-08-11 09:43:22 · 269 阅读 · 0 评论 -
UVa 1593 Allgnment of Code 代码对齐
#include #include #include #include #include #include #include #include using namespace std; int main() { //freopen("c:\\h.txt","w",stdout); vector s; int line=0,wide[1000]={};原创 2016-08-11 15:18:29 · 380 阅读 · 0 评论 -
UVA 10763 Foreign Exchange 交换学生
#include #include #include #include #include #include #include #include using namespace std; int per[500005][2]={}; int main() { map > stu; //map嵌套把一对学生(x,y)做映射,可以计算每对出现的次数 int n; while原创 2016-08-12 15:43:36 · 414 阅读 · 0 评论 -
UVA 10935 Throwing Cards Away I 卡片游戏
#include #include #include #include #include #include #include #include using namespace std; int main() { //freopen("c:\\test.txt","r",stdin); //freopen("c:\\h.txt","w",stdout); ve原创 2016-08-12 10:08:00 · 244 阅读 · 0 评论