原创 藍燈優惠碼

Use my code Y29DXNU and get 3 months free when you sign up!

原创 C++ 11 Vector遍歷的幾種方式

#include<iostream> #include<vector> using namespace std; int main() { vector<int> v = {1, 2, 3, 4, 5, 6

原创 leetcode-53.Maximum Subarray 最大子序和

Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum

原创 解決 'oracle-11g' 沒有 scott/tiger 用戶的問題

來源:百度知道 方案一 scott是用戶,密碼是tiger。oracle公司第一個程序員叫scott,他養的貓叫tiger,這個名字就這麼流傳下來了。 裝好庫之後默認是鎖定的,需要解鎖才能使用 alter user scott ac

原创 文章標題

leetcode Add Two Numbers 級別 medium 寫了簡單的鏈表合併算法通俗易懂 對題目的理解爲兩個方面 1.合併節點值大於等於10時,需要對後面節點進一位,進位還可能後導致的再進位如:1+9等 2.這裏採

原创 pat1007.素數對猜想(20)

1007. 素數對猜想 (20) 時間限制 400 ms 內存限制 65536 kB 代碼長度限制 8000 B 判題程序 Standard 作者 CHEN, Yue 讓我們定義 dn 爲:d

原创 # 推薦兩個圖標庫

推薦兩個圖標庫 http://romannurik.github.io/AndroidAssetStudio/ https://github.com/konifar/android-material-design-icon-gener

原创 動態單鏈表的就地逆置

//單鏈表逆置  #include<stdio.h> #include<stdlib.h>  typedef struct node{int data;struct node *next;  }Node

原创 pat1005.繼續(3n+1)猜想(25)

1005. 繼續(3n+1)猜想 (25) 時間限制 400 ms 內存限制 65536 kB 代碼長度限制 8000 B 判題程序 Standard 作者 CHEN, Yue 卡拉茲(Cal

原创 動態鏈表解約瑟夫環

#include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct node{int data;struct node *next

原创 蛇形填數

#include<stdio.h> #include<string.h> #define N 20 int a[N][N]; int main() {int n,x,y,tot=0;scanf("%d",

原创 PAT1003.我要通過!(20)(簡單的c語言風格c++解法)

1003. 我要通過!(20) 時間限制 400 ms 內存限制 65536 kB 代碼長度限制 8000 B 判題程序 Standard 作者 CHEN, Yue “答案正確”是自動判題系統