Skip to content

Commit

Permalink
Added docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
soulmachine committed Apr 21, 2017
1 parent 256581f commit 20d388d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions C++/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#C++版
-----------------
**下载**:<a href="https://github.com/soulmachine/leetcode/raw/master/C%2B%2B/leetcode-cpp.pdf">LeetCode题解(C++版).pdf</a>

书的内容与Java版一摸一样,不过代码是用C++写的。本书的代码使用 C++ 11 标准。
## 编译

docker pull soulmachine/texlive
docker run -it --rm -v $(pwd):/data -w /data soulmachine/texlive xelatex -interaction=nonstopmode leetcode-cpp.tex
6 changes: 5 additions & 1 deletion Java/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#Java版
-----------------
书的内容与C++版一摸一样,不过代码是用Java写的。本书的代码要求 Java 6 以上。

## 编译

docker pull soulmachine/texlive
docker run -it --rm -v $(pwd):/data -w /data soulmachine/texlive-full xelatex -synctex=1 -interaction=nonstopmode leetcode-java.tex

0 comments on commit 20d388d

Please sign in to comment.