例題5-4 UVa 156 Ananagrams(STL:map)
1111 ワード
タイトル:
白書を読む
要点:
木型DP木の最大の独立集を求めてmapを使う必要があって、もともと夏休みにC++を学んで更にSTLを学ぶと思って、それからやはり先に少し学んで、简単に使うことができると思っています.この問題は本のとおりにたたくことだ.C++は本当にCより使いやすいと言わざるを得ません.
mapの使用参考:クリックしてリンクを開く
白書を読む
要点:
木型DP木の最大の独立集を求めてmapを使う必要があって、もともと夏休みにC++を学んで更にSTLを学ぶと思って、それからやはり先に少し学んで、简単に使うことができると思っています.この問題は本のとおりにたたくことだ.C++は本当にCより使いやすいと言わざるを得ません.
mapの使用参考:クリックしてリンクを開く
#include
#include
#include
#include
#include