29 |
29 |
30 \begin{itemize} |
30 \begin{itemize} |
31 \item Make sure the files you submit can be processed by just calling\\ |
31 \item Make sure the files you submit can be processed by just calling\\ |
32 \mbox{\texttt{scala <<filename.scala>>}} on the commandline. |
32 \mbox{\texttt{scala <<filename.scala>>}} on the commandline. |
33 |
33 |
|
34 %\item If you use \textbf{offending} words, like \texttt{var} or |
|
35 % \texttt{return}, in comments, please write them as \texttt{vvar}, |
|
36 % \texttt{Var}, \texttt{rreturn}, \texttt{Return} or anything |
|
37 |
34 \item Do not use any mutable data structures in your |
38 \item Do not use any mutable data structures in your |
35 submissions! They are not needed. This means you cannot use |
39 submissions! They are not needed. This means you cannot use |
36 \texttt{ListBuffer}s, for example. |
40 \texttt{ListBuffer}s, for example. |
37 |
41 |
38 \item Do not use \texttt{return} in your code! It has a different |
42 \item Do not use \texttt{return} in your code! It has a different |
107 $(4, 4)$. It turns out there is no closed knight's tour on a $5\times |
111 $(4, 4)$. It turns out there is no closed knight's tour on a $5\times |
108 5$ board. But there are on a $6\times 6$ board and on bigger ones, for |
112 5$ board. But there are on a $6\times 6$ board and on bigger ones, for |
109 example |
113 example |
110 |
114 |
111 \chessboard[maxfield=e5, |
115 \chessboard[maxfield=e5, |
112 pgfstyle= {[base,at={\pgfpoint{0pt}{-0.5ex}}]text}, |
116 pgfstyle={[base,at={\pgfpoint{0pt}{-0.5ex}}]text}, |
113 text = \small 10, markfield=Z5, |
117 text = \small 10, markfield=Z5, |
114 text = \small 5, markfield=a5, |
118 text = \small 5, markfield=a5, |
115 text = \small 18, markfield=b5, |
119 text = \small 18, markfield=b5, |
116 text = \small 25, markfield=c5, |
120 text = \small 25, markfield=c5, |
117 text = \small 16, markfield=d5, |
121 text = \small 16, markfield=d5, |