摘要:
单链表反转笔记: 1 #include 2 #include 3 using namespace std; 4 5 struct ListNode 6 { 7 int val; 8 ListNode* next; 9 ListNode(int i):val(i),next(... 阅读全文
摘要:
1.如下代码输出结果是什么?12345678910111213141516#includechar *myString(){char buffer[6] = {0};char *s ="Hello World!";for (int i =0; i using namespace std;class ... 阅读全文
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 void knuth(int n, int m) 6 { 7 srand((unsigned int)time(NULL)); 8 for (int i = 0; i... 阅读全文