Skip to content

Commit

Permalink
rename 462B
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoshengzhe committed Jan 7, 2015
1 parent 909491b commit c6085b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion sol.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* 算法:逐个检查
* 难点:无

## [462B Appleman and Card Game](462B_Appleman_and_Card_Game/Solution.c)
## [462B Appleman and Card Game](462B_Appleman_and_Card_Game/Solution.cc)

* 算法:贪心,将字母按照出现频率排序。然后按频率从大到小取,result += freq * freq,当k不够当前频率时,result += k * k
* 难点:注意数字范围,要用long long int
Expand Down

0 comments on commit c6085b1

Please sign in to comment.