cws/cw01.tex
changeset 110 62389faa66e4
parent 86 f8a781322499
child 123 556cd74cbba9
equal deleted inserted replaced
109:293ea84d82ca 110:62389faa66e4
    14 Make sure the files you submit can be processed by just calling
    14 Make sure the files you submit can be processed by just calling
    15 \texttt{scala <<filename.scala>>}.\bigskip
    15 \texttt{scala <<filename.scala>>}.\bigskip
    16 
    16 
    17 \noindent
    17 \noindent
    18 \textbf{Important:} Do not use any mutable data structures in your
    18 \textbf{Important:} Do not use any mutable data structures in your
    19 submissions! They are not needed. This excludes the use of
    19 submissions! They are not needed. This means you cannot use 
    20 \texttt{ListBuffer}s, for example. Do not use \texttt{return} in your
    20 \texttt{ListBuffer}s, for example. Do not use \texttt{return} in your
    21 code! It has a different meaning in Scala, than in Java.
    21 code! It has a different meaning in Scala, than in Java.
    22 Do not use \texttt{var}! This declares a mutable variable. Make sure the
    22 Do not use \texttt{var}! This declares a mutable variable. Make sure the
    23 functions you submit are defined on the ``top-level'' of Scala, not
    23 functions you submit are defined on the ``top-level'' of Scala, not
    24 inside a class or object. Also note that the running time of
    24 inside a class or object. Also note that the running time of
    25 each part will be restricted to a maximum of 360 seconds. 
    25 each part will be restricted to a maximum of 360 seconds on my laptop.
    26 
    26 
    27 
    27 
    28 \subsection*{Disclaimer}
    28 \subsection*{Disclaimer}
    29 
    29 
    30 It should be understood that the work you submit represents
    30 It should be understood that the work you submit represents