[LeetCode] Distinct Subsequences
Given a string S and a string T, count the number of distinct subsequences of
CF 315A(Sereja and Bottles-開易拉罐)
A. Sereja and Bottles time limit per test2 seconds memory limit per test256 m
CF 315B(Sereja and Array-峰頂距離統計)
B. Sereja and Array time limit per test1 second memory limit per test256 mega
VS2012下基於Glut OpenGL繪制直線示例程序:
在VS2012下使用glut繪制一系列直線的示例程序,繪制的是圓周上的二十條直徑,效果如下圖所示,按PC的UP,DOWN,LEFT,RIGHT按鍵可以從不
Design patterns IV : Decorator/Wrapper Pattern
/* Author: Jiangong SUN */ Decorators provide a flexible alternative to subcl