有些內容使用中英雙語,有些只有英文或中文。歡迎使用與分享任何內容,但先來信告知並標示此部落格為出處。
Some parts use both Chinese and English, but some parts use only one language. Feel free to share, but please contact me first and list this blog as your reference.
顯示具有 ACM-ICPC=PKU OJ=Difficulty ★★ 標籤的文章。 顯示所有文章
顯示具有 ACM-ICPC=PKU OJ=Difficulty ★★ 標籤的文章。 顯示所有文章

2014年2月18日 星期二

PKU OJ - 1426 Find The Multiple

In PKU OJ,use G++ will AC, but use C++ will  TLE.
I think I should prune some useless branches.
在PKU 用 G++可以AC過,用C++會TLE 
可能要用點剪枝,還在努力中讓兩個都過...

The following program is my ACcepted code for PKU OJ 1426 Find The Multiple (only in G++).
It's a for everybody to learn and discuss.
If there is any mistake or comment, please let me know.  :D

此乃PKU 1426 的AC code! (只有在G++)
歡迎一同討論學習,如有錯誤與任何建議請留言 : )

點這裡看題目 Click here to see this Problem!

2014年2月13日 星期四

PKU OJ - 3122 Pie

The following program is my ACcepted code for PKU OJ 3122 Pie
It's a for everybody to learn and discuss.
If there is any mistake or comment, please let me know.  :D

此乃PKU 3122 的AC code!
歡迎一同討論學習,如有錯誤與任何建議請留言 : )

點這裡看題目 Click here to see this Problem!

2014年2月8日 星期六

PKU OJ - 1458 Common Subsequence

The following program is my ACcepted code for PKU OJ 1458 Common Subsequence
It's a for everybody to learn and discuss.
If there is any mistake or comment, please let me know.  :D

此乃PKU 1458的AC code!
歡迎一同討論學習,如有錯誤與任何建議請留言 : )

點這裡看題目 Click here to see this Problem!