摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int add(int a, int b, ...) 7 { 8 return a + b; 9 } 10 11 template 12 class A 13 { 14 private: 15 T data; 16 public: 17 ... 阅读全文
posted @ 2016-05-13 13:59 mahaitao617 阅读(317) 评论(0) 推荐(0) 编辑
摘要: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all 阅读全文
posted @ 2016-05-13 11:44 mahaitao617 阅读(222) 评论(0) 推荐(1) 编辑