Skip to content

Commit

Permalink
Convert to DocStrip
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam0205 committed Jan 20, 2015
1 parent a7f8b06 commit 61469ec
Show file tree
Hide file tree
Showing 9 changed files with 28,819 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Working
mcmthesis-demo.tex
mcmthesis-demo.pdf
mcmthesis.cls
mcmthesis.pdf
gitpush

## Mac OS X
.DS_Store
Expand Down
5 changes: 5 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Released under the [LaTeX Project Public
License](http://www.latex-project.org/lppl.txt), v1.3c or later.

The package has status 'maintained': the current maintainer is
[Liam Huang]([email protected]).
17 changes: 17 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The `mcmthesis` Class

This class is designed for the MCM/ICM.

## Installation

## Author

Liam Huang

Email: [email protected]

If you are interested in the process of development you may observe

<https://github.com/LiamHuang0205/mcmthesis>

[liam-ctan]: http://www.ctan.org/author/huang-l
15 changes: 15 additions & 0 deletions code/mcmthesis-matlab1.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
function [t,seat,aisle]=OI6Sim(n,target,seated)
pab=rand(1,n);
for i=1:n
if pab(i)<0.4
aisleTime(i)=0;
else
aisleTime(i)=trirnd(3.2,7.1,38.7);
end
end






41 changes: 41 additions & 0 deletions code/mcmthesis-sudoku.CPP
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//============================================================================
// Name : Sudoku.cpp
// Author : wzlf11
// Version : a.0
// Copyright : Your copyright notice
// Description : Sudoku in C++.
//============================================================================

#include <iostream>
#include <cstdlib>
#include <ctime>

using namespace std;

int table[9][9];

int main() {

for(int i = 0; i < 9; i++){
table[0][i] = i + 1;
}

srand((unsigned int)time(NULL));

shuffle((int *)&table[0], 9);

while(!put_line(1))
{
shuffle((int *)&table[0], 9);
}

for(int x = 0; x < 9; x++){
for(int y = 0; y < 9; y++){
cout << table[x][y] << " ";
}

cout << endl;
}

return 0;
}
Loading

0 comments on commit 61469ec

Please sign in to comment.