摘要: 发现之前写太繁琐。。这里分享下同学的方法1,安装 Python 2.7.x 版本地址:https://www.python.org/downloads/release/python-278/2,安装 python setuptools 工具地址:https://pypi.python.org/pyp... 阅读全文
posted @ 2014-10-30 21:13 向日葵的祈愿 阅读(1765) 评论(1) 推荐(0) 编辑
摘要: 题目,排队打印问题Input FormatOne line with a positive integer: the number of test cases (at most 20). Then for each test case:One line with two integers n and... 阅读全文
posted @ 2014-05-28 17:34 向日葵的祈愿 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 虽然GDB调试工具功能强大,但对于平时做题调试的使用并不方便,这里尝试学习使用比较简单的valgrind工具Valgrind是一个提供程序调试及性能分析的工具集。其包含的工具主要有Memcheck,Cachegrind,Callgrind,Massif等。其中,最为常用的是Memcheck,其主要用... 阅读全文
posted @ 2014-05-28 16:15 向日葵的祈愿 阅读(702) 评论(0) 推荐(0) 编辑