Skip to content

Instantly share code, notes, and snippets.

View songouyang's full-sized avatar
🎯
Focusing

songouyang

🎯
Focusing
View GitHub Profile
@songouyang
songouyang / 120.cpp
Last active November 18, 2017 06:15
120. Triangle
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int minimumTotal(vector<vector<int>>& triangle) {
if (triangle.empty()){
return 0;
}
@songouyang
songouyang / .vimrc
Last active November 23, 2017 04:30
.vimrc
"vundle
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'wakatime/vim-wakatime'
Plugin 'scrooloose/syntastic'
call vundle#end()
filetype plugin indent on " enables filetype detection
@songouyang
songouyang / Template.py
Last active November 17, 2017 09:27
[Pycharm中Python模板] pycharm模板 #Python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : ${YEAR}/${MONTH}/${DAY}
# @Author : ouyangsong
# @Contact : songouyang@live.com
# @File : ${NAME}.py
if __name__ == "__main__":
pass