摘要:
STL练手。简单题。 分两步,先做进制转换transform(const int number, int base) ,然后判断是不是回文数isPalindrom(vector &v)。 Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -... 阅读全文
摘要:
关键是要考虑到两个两个圆的直径r1==r2的情况和一个圆在另外一个圆内的情况。 顺便,c++输出格式的控制,cout #include #include #include using namespace std; int main() { int numberOfCase; cin >> numberOfCase; for(int i = 0; i > ... 阅读全文
摘要:
Teach Yourself Programming in Ten Years Peter Norvig Why is everyone in such a rush? Walk into any bookstore, and you'll see how to Teach Yourself Java in 7 D... 阅读全文