Walkthrough rooms released this month, give you 25% of the points to both your all-time and monthly score.Old challenge rooms (not released this month) will give you 25% of the points to your monthly score and 100% to your all-time score.Challenge rooms released this month, give you 100% of the points (to both your all-time and monthly score).This stops new users being able obtain large amounts of points as they have more rooms to solve than older users - by monthly points only being awarded if a room is released this month, everyone has a fair chance to be number 1 on the ‘Monthly’ leaderboard and everyone has an equal chance to be number 1 on the ‘All-time’ leaderboard. You only get 100% of a room's monthly points if a room has been released during that month you get 25% of challenge room points if its not released in this month. Challenge room’s receive 100% if the room has been released during this month.All points you get are added to your ‘All-time’ score, however not all points are added to your ‘Monthly’ score (which is reset to 0 on the last day of the month 23:59 GMT). If the room type is a walkthrough room, you only get 25% of those points added to your account score. A breakdown of how questions are scored as as follow: Answered := 100 rooms gets you a certain number of points.Comments: (* This is a comment *) instead of /* This is a comment */.Strings: Caret ("^") concatenates two strings.Boolean logic: Use "andalso" and "orelse" "and" does something else (to be explained later).Use the function real to convert an int to a float, and use round, ceil, or floor to convert a float to an int. Writing "2 + 3.0" yields an error in SML. SML doesn't automatically convert between floats and ints.Integer division is performed by infix "div" (e.g., "5 div 2").Negation is performed by prefix "~" instead of prefix "-".Writing "foo(2, 3)" in SML means to apply the function foo to the tuple (2, 3). Function application: In SML, each function can be thought of as taking exactly one argument, although that argument can be a tuple.A few syntactic differences from C-like languages:."val it = 4 : int" means that the value of the variable it is 4 and its type is int. The SML interpreter automatically introduces a new variable named "it" that contains the value of the last evaluated input line. (Don't forget the semicolon.) Your terminal should look like the ~]$ rlwrap sml As an example, type "2 + 2 " at the SML prompt and press enter.Press CTRL+C to interrupt SML or start a new input line.
#INSTALL SML LINUX INSTALL#
You can also install SML directly on your personal computer.If you store your homework files in your personal AFS folder, make sure that your AFS permissions are set so that other students cannot read your files! ~/15212]$ fs setacl.Under Windows, use PuTTY (or some other SSH client).
#INSTALL SML LINUX MAC OS#
Under Linux or Mac OS X, open a terminal and use ssh to connect to.After downloading GitHub desktop you need to go on SML GitHub here. First, you need to install something to clone the repository on your computer the easiest one is GitHub desktop available here.
#INSTALL SML LINUX HOW TO#