摘要: // ascvoid insertionSortAsc(vector &v){ int len = v.size(); for (int i = 1; i = 0 && v[j] > key) { v[j + 1] = v[j]; ... 阅读全文
posted @ 2014-11-03 20:57 Azurewing 阅读(115) 评论(0) 推荐(0) 编辑
摘要: OS X是一个类UNIX操作系统,由底层的Darwin和上层的OS X应用程序框架(Cocoa, Carbon, Quartz等)及Aqua用户界面组成。其中Darwin是一个开源、完整的POSIX-compliant操作系统,内核基于CMU开发的开源Mach内核,一部分*BSD UNIX源码和一套... 阅读全文
posted @ 2014-11-01 19:10 Azurewing 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1. 一段查看地址内容的代码代码:#include typedef unsigned char *byte_pointer;void show_bytes(byte_pointer start, int len){ int i; for(i = 0; i = x;}若无溢出,则 sum >= x... 阅读全文
posted @ 2014-10-25 21:04 Azurewing 阅读(236) 评论(1) 推荐(1) 编辑
摘要: 欢迎交流 1.1.26public class TestApp { public static void main(String[] args) { int a = StdIn.readInt(); int b = StdIn.readInt(); ... 阅读全文
posted @ 2014-10-22 19:26 Azurewing 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 欢迎交流 1.1.1 a. 7 b. 200.0000002 c. true 1.1.2 a. 1.618 b. 10.0 c. true d. 33 1.1.3 1 public class MainApp { 2 public static void main(S... 阅读全文
posted @ 2014-09-22 19:25 Azurewing 阅读(450) 评论(0) 推荐(0) 编辑