摘要: 试着用Pharo写了一个8皇后。算是练习。 1 Object subclass: #Queen 2 instanceVariableNames: 'position' 3 classVariableNames: '' 4 poolDictionaries: '' 5 ... 阅读全文
posted @ 2015-10-15 15:03 缘起助 阅读(138) 评论(0) 推荐(0)
摘要: #ifndef wordpattern_hpp#define wordpattern_hpp#include #include #include #include #include using namespace std;class Solution {public: bool wordPat... 阅读全文
posted @ 2015-10-09 23:50 缘起助 阅读(129) 评论(0) 推荐(0)