讲解:C++ 17s1 Introduction to ProgrammingC++、C++

Introduction函数主要功能见函数名主要过程见注释注:queue[0]对应Queue2,Queue[1]~[3]对应优先级为3~5的Queue1RequirementCOMP1911 17s1 COMP1911 - Introduction to Programming - 17s1 Introduction to ProgrammingAssignment 2 - C WordsModifications:16/05 modified signal handler code for the bonus stage13/05 Added information about signal handlers for the bonus stageIntroductionThe aim of the game C Words is to see words that be created from the letters you are given in a way to maximise your score!The game is played on an n x n grid (we will use a 5 x 5 grid). Tiles are succesively drawn from a pile of tiles. Each tile is marked with a letter and a score. Players enter the letter and score into one square of the grid with the purpose of forming as many 3 to n letter words, horizontally and vertically, as possible. Players list all words formed and total a score for each word by adding the score associated with each letter of the word. The final game score is then obtained by adding the score for each word once all squares in the grid have been filled.Stage 0: Reading tilesIn Stage 0 your are to implement a program that first prompts the user for a list of nxn (25) tiles. The program then prints out the tiles.The tiles can be entered with any number of spaces (or no spaces) between the letters and the scores. Letters may be entered as lower case or upper case, but should always be printed as lower case. The scores should integers, greater than or equal to 0 and less than or equal to 100.If the input is incorrect, the program should exit with the error message. You should print all error messages to the standard error stream.Error in input~cs1911/bin/CWordsEnter 25 tiles: i 2 h 2 s 1 r 1 v 4 b 1 l 5 k 1 e 2 m 2 n 5 o 4 i 3 l 5 t 5 a 1 e 2 f 2 r 4 n 3a 2 h 3 g 2 s 5 r 3Tiles: i/2 h/2 s/1 r/1 v/4 b/1 l/5 k/1 e/2 m/2 n/5 o/4 i/3 l/5 t/5 a/1 e/2 f/2 r/4 n/3 a/2 h/3 g/2 s/5 r/3Stage 1: Placing Tiles on the GridOnce you have implemented Stage 0, you must build on your program and present each letter/value to the user and prompt them to enter the row and column in which to place the tile. At each turn, the current state of the game board is printed to the screen. Once all 25 letter/value pairs are placed on the game board, the game ends. Here is a sample behaviour for your program at the end of this stage.~cs1911/bin/CWordsEnter 25 tiles: i 2 h 2 s 1 r 1 v 4 b 1 l 5 k 1 e 2 m 2 n 5 o 4 i 3 l 5 t 5 a 1 e 2 f 2 r 4 n 3a 2 h 3 g 2 s 5 r 3Tiles: i/2 h/2 s/1 r/1 v/4 b/1 l/5 k/1 e/2 m/2 n/5 o/4 i/3 l/5 t/5 a/1 e/2 f/2 r/4 n/3 a/2 h/3 g/2 s/5 r/3Enter row and column for each tile …Tile #1: i/2? 0 10 1 2 3 40: ./. i/2 ./. ./. ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #2: h/2? 0 00 1 2 3 40: h/2 i/2 ./. ./. ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #3: s/1? 0 20 1 2 3 40: h/2 i/2 s/1 ./. ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #4: r/1? 0 30 1 2 3 40: h/2 i/2 s/1 r/1 ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #5: v/4? 1 00 1 2 3 40: h/2 i/2 s/1 r/1 ./.1: v/4 ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #6: b/1? 2 00 1 2 3 40: h/2 i/2 s/1 r/1 ./.1: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #7: l/5? 0 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #8: k/1? 3 00 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #9: e/2? 4 00 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 ./. ./. ./. ./.Tile #10: m/2? 1 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 ./. ./. ./. ./.Tile #11: n/5? 4 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #12: o/4? 2 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 ./. ./. ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #13: i/3? 1 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 ./. ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #14: l/5? 1 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #15: t/5? 3 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. t/54: e/2 n/5 ./. ./. ./.Tile #16: a/1? 2 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 ./.2: b/1 o/4 a/1 ./. ./.3: k/1 ./. ./. ./. t/54: e/2 n/5 ./. ./. ./.Tile #17: e/2? 1 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 ./. ./.3: k/1 ./. ./. ./. t/54: e/2 n/5 ./. ./. ./.Tile #18: f/2? 3 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 ./. ./.3: k/1 ./. f/2 ./. t/54: e/2 n/5 ./. ./. ./.Tile #19: r/4? 2 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 ./. f/2 ./. t/54: e/2 n/5 ./. ./. ./.Tile #20: n/3? 4 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 ./. f/2 ./. t/54: e/2 n/5 n/3 ./. ./.Tile #21: a/2? 3 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 a/2 f/2 ./. t/54: e/2 n/5 n/3 ./. ./.Tile #22: h/3? 4 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 a/2 f/2 ./. t/54: e/2 n/5 n/3 ./. h/3Tile #23: g/2? 3 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 a/2 f/2 g/2 t/54: e/2 n/5 n/3 ./. h/3Tile #24: s/5? 2 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 s/53: k/1 a/2 f/2 g/2 t/54: e/2 n/5 n/3 ./. h/3Tile #25: r/3? 4 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 s/53: k/1 a/2 f/2 g/2 t/54: e/2 n/5 n/3 r/3 h/3As each tile is presented, the user must enter the row and column number in which to place the tile (these are both numbered from 0). If the grid square is already occupied, the user is prompted again for the same tile. If the grid square does not exist or the input is otherwise incorrect, the program should exit with the error message printed to the standard error stream.Error in inputStage 2: Calculating the ScoreExtend your program from Stage 1 so that it tallies the score for all 3, 4 and 5 letter words running left-to-right and top-to-bottom when all 25 letter/value pairs have been placed on the game board. Furthermore, on the last line of output your program should print a list of letter/value pairs from left-to-right and top-to-bottom representing the final state of the game board.~cs1911/bin/CWordsEnter 25 tiles: i 2 h 2 s 1 r 1 v 4 b 1 l 5 k 1 e 2 m 2 n 5 o 4 i 3 l 5 t 5 a 1 e 2 f 2 r 4 n 3a 2 h 3 g 2 s 5 r 3Tiles: i/2 h/2 s/1 r/1 v/4 b/1 l/5 k/1 e/2 m/2 n/5 o/4 i/3 l/5 t/5 a/1 e/2 f/2 r/4 n/3 a/2 h/3 g/2 s/5 r/3Enter row and column for each tile …Tile #1: i/2? 0 10 1 2 3 40: ./. i/2 ./. ./. ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #2: h/2? 0 00 1 2 3 40: h/2 i/2 ./. ./. ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #3: s/1? 0 20 1 2 3 40: h/2 i/2 s/1 ./. ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #4: r/1? 0 30 1 2 3 40: h/2 i/2 s/1 r/1 ./.1: ./. ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #5: v/4? 1 00 1 2 3 40: h/2 i/2 s/1 r/1 ./.1: v/4 ./. ./. ./. ./.2: ./. ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #6: b/1? 2 00 1 2 3 40: h/2 i/2 s/1 r/1 ./.1: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #7: l/5? 0 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: ./. ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #8: k/1? 3 00 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: ./. ./. ./. ./. ./.Tile #9: e/2? 4 00 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 ./. ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 ./. ./. ./. ./.Tile #10: m/2? 1 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 ./. ./. ./. ./.Tile #11: n/5? 4 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 ./. ./. ./.2: b/1 ./. ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #12: o/4? 2 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 ./. ./. ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #13: i/3? 1 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 ./. ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #14: l/5? 1 30 1 2 3C++代写 17s1 Introduction to Programming代做C++程序、C++课程设计代写留学生 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. ./.4: e/2 n/5 ./. ./. ./.Tile #15: t/5? 3 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 ./.2: b/1 o/4 ./. ./. ./.3: k/1 ./. ./. ./. t/54: e/2 n/5 ./. ./. ./.Tile #16: a/1? 2 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 ./.2: b/1 o/4 a/1 ./. ./.3: k/1 ./. ./. ./. t/54: e/2 n/5 ./. ./. ./.Tile #17: e/2? 1 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 ./. ./.3: k/1 ./. ./. ./. t/54: e/2 n/5 ./. ./. ./.Tile #18: f/2? 3 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 ./. ./.3: k/1 ./. f/2 ./. t/54: e/2 n/5 ./. ./. ./.Tile #19: r/4? 2 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 ./. f/2 ./. t/54: e/2 n/5 ./. ./. ./.Tile #20: n/3? 4 20 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 ./. f/2 ./. t/54: e/2 n/5 n/3 ./. ./.Tile #21: a/2? 3 10 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 a/2 f/2 ./. t/54: e/2 n/5 n/3 ./. ./.Tile #22: h/3? 4 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 a/2 f/2 ./. t/54: e/2 n/5 n/3 ./. h/3Tile #23: g/2? 3 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 ./.3: k/1 a/2 f/2 g/2 t/54: e/2 n/5 n/3 ./. h/3Tile #24: s/5? 2 40 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 s/53: k/1 a/2 f/2 g/2 t/54: e/2 n/5 n/3 ./. h/3Tile #25: r/3? 4 30 1 2 3 40: h/2 i/2 s/1 r/1 l/51: v/4 m/2 i/3 l/5 e/22: b/1 o/4 a/1 r/4 s/53: k/1 a/2 f/2 g/2 t/54: e/2 n/5 n/3 r/3 h/3Words:his = 5mil = 10boa = 6oar = 9les = 12Words of length 3 = 42mile = 12boar = 10oars = 14moan = 13lest = 17Words of length 4 = 66boars = 15Words of length 5 = 15TOTAL = 123h 2 i 2 s 1 r 1 l 5 v 4 m 2 i 3 l 5 e 2 b 1 o 4 a 1 r 4 s 5 k 1 a 2 f 2 g 2 t 5 e 2 n 5 n 3 r 3 h 3Your program should assume that the dictionary files (words3.txt, words4.txt, words5.txt) are located in the same directory as your solution binary. You can assume each dictionary contains a maximum of 5000 words. You may assume only valid 3, 4 and 5 letter words respectively are in the files.Stage 3 Bonus: Making an AI playerExtend your program further so that if it is run with the -a (for “automatic”) option specified, it does not ask the user to place the tiles but tries to determine the optimal placement of the tiless on the game board. Your program will be given a maximum of 1 minute of CPU time to output the state of the game board that it has determined. The final game board should be output as a list of letter value pairs from left-to-right and top-to-bottom on the game board (i.e., squares: (0, 0), (0, 1), (0, 2), (0, 3), (0, 4), (1, 0), (1, 1), etc.). The following output gives an example of your program’s output for this stage.~cs1911/bin/CWords -aEnter 25 tiles: i 2 h 2 s 1 r 1 v 4 b 1 l 5 k 1 e 2 m 2 n 5 o 4 i 3 l 5 t 5 a 1 e 2 f 2 r 4 n 3a 2 h 3 g 2 s 5 r 3h 2 i 2 s 1 r 1 l 5 v 4 m 2 i 3 l 5 e 2 b 1 o 4 a 1 r 4 s 5 k 1 a 2 f 2 g 2 t 5 e 2 n 5 n 3 r 3 h 3Note that there is no unique answer to this stage. Your program is to output the best solution it has been capable of finding in the 1 minute CPU time limit.Note: you should document in your blog the strategy that you have employed in the challenge. You will only be able to get a maximum of 0.5 if you fail to do this.To obtain a mark for Stage 3 your program must be capable of producing a total score at least as good as the exhaustive search program within the 1 minute limit.If your strategy involves using as much time as possible to compare different solutions to maximise you score, you may find the following code helpful. Don’t be alarmed if you do not understand it. You do not HAVE to use it or even look at it, unless you want to use it for this stage of the assignment. The code sets an alarm to go off when 60 seconds has been reached.You can get a copy of the code by runningcp ~cs1911/public_html/17s1/assignments/ass2/signalHandler.c .Word ListsThere are three word list files:words3.txt - 3 letter wordswords4.txt - 4 letter wordswords5.txt - 5 letter wordsYou can download them or copy them into your current directory using the commandcp ~cs1911/public_html/17s1/assignments/ass2/words*.txt .You could instead just create a symbolic link to them to save disk quotaln -s ~cs1911/public_html/17s1/assignments/ass2/words3.txtln -s ~cs1911/public_html/17s1/assignments/ass2/words4.txtln -s ~cs1911/public_html/17s1/assignments/ass2/words5.txtSample BinariesA sample binary is available at ~cs1911/bin/CWords on CSE machines.You can use to determine the required behaviour for stages0-2. This program also takes two optional arguments -a as described in Stage 3 and -e to give the result of an exhaustive search within 1 minute of CPU time.A program to generate data for you to test your solution will be provided at ~cs1911/bin/CWords-data. This program can be run in one of four ways:~cs1911/bin/CWords-dataGenerate test data. When run in this way it will first output two seed values (that can be used in checking your solution) and then 25 letter/value pairs that can be used as input.~cs1911/bin/CWords-data shuffleSeed valueSeedWhere shuffleSeed and valueSeed are two integer seed values provided by the user. Generate test data using the two integer seed values provided.~cs1911/bin/CWords-data -cYou will be prompted for 25 letter/value pairs which will be placed on the game board from left-to-right and top-to-bottom. The score for this game board will be output.~cs1911/bin/CWords-data -c shuffleSeed valueSeed As in the previous option except that you supply two integer seed values. The 25 letter/value pairs will also be checked against the 25 letter/values pairs generated using these two seeds. We will use this option to check Stage 3.BlogYou must keep notes on your blog every time you work on this assignment.How to BlogGo to the COMP1911 Home PageLog in with your zid and zpassClick on the speech bubble icon at the bottom of the side navigation panel near your name.Click on “Create Post”Your blog should includeThe amount of time you spentWhether you were reading and understanding, designing, coding, debugging or testing.What you learnt or achievedMistakes you made and how you could try to avoid or minimise them next timeWhat kind of data structures you chose and why (ie what types did you use for your variables, to store your words and your tiles etc). What other choices did you consider?If you do stage 3 Bonus, write about the strategy you used.Hints:Be specific and include concrete examples of what you did. Only tutors can read your blog so you can include code snippetsDon’t panic if English is your second language or if you are not a ‘great’ writer. We understand and we do not expect the next great novel of our time.AssessmentAssignment 2 is worth 15 Marks. Your submission will be assessed in the following way:Stage 0 (Automarking): 2 MarksStage 1 (Automarking): 4.5 MarksStage 2 (Automarking): 4.5 MarksStage 3 Bonus (Ranking): 1 MarkProgramming style. 3 MarksAssignment blog: 1 MarkNote: You can get 16/15 for this assignment if you do the bonus stage 3. You can get 15/15 without doing the bonus stage 3. Getting 16/15 can make up for lost marks in assignment 1 or labs, but not the final exam. We’ll test performance by running your program on a range of inputs (test cases). There will be separate tests for each of the stages of the assignment. Marks are awarded for each test case for which your program produces output identical to the output of the reference program. About half the marks will be for simple tests and about half for trickier ones.Note: We do not just use the same tests as the submission autotests. We test on a whole batch of unknown test cases. Passing all the submission tests is a great start, but does not guarantee you will pass all of our test cases.Originality of WorkThe work you submit must be your own work. Submission of work partially or completely derived from any other person or jointly written with any other person is not permitted. The penalties for such an offence may include negative marks, automatic failure of the course and possibly other academic discipline. Assignment submissions will be examined both automatically and manually for such submissions.Relevant scholarship authorities will be informed if students holding scholarships are involved in an incident of plagiarism or other misconduct.Do not provide or show your assignment work to any other person - apart from the teaching staff of COMP1911. If you knowingly provide or show your assignment work to another person for any reason, and work derived from it is submitted you may be penalized, even if the work was submitted without your knowledge or consent. This may apply even if your work is submitted by a third party unknown to you.Note, you will not be penalized if your work is taken without your consent or knowledge.SubmissionStages 0 + 1 + 2 and stage 3 will be submitted separately to allow us to easily run the stage 3 “competitions”.Remember your program is going to be automatically marked so be careful to follow the desired output to the letter ;)Submit early so you can see the results of the submission autotests in case they reveal problems.This assignment is due Friday 2nd June at 23:59:59 Submit the standard part of the assignment using this give command:give cs1911 ass2 CWords.cTo just run the automarking tests without submission run1911 autotest ass2To submit for the stage 3 bonus competitions rungive cs1911 ass2Stage3 CWords.cIf your assignment is submitted after this date, each hour it is late reduces the maximum mark it can achieve by 1%. For example if an assignment worth 76% was submitted 5 hours late, the late submission would have no effect. If the same assignment was submitted 30 hours late it would be awarded 70%, the maximum mark it can achieve at that time.Late submissions will not be considered for the Stage 3 Competition rounds转自:http://ass.3daixie.com/2019030627560470.html

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 223,726评论 6 521
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 95,697评论 3 402
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 170,734评论 0 366
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 60,508评论 1 300
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 69,522评论 6 399
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 53,051评论 1 314
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 41,429评论 3 427
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 40,403评论 0 278
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 46,930评论 1 323
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 38,977评论 3 343
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 41,122评论 1 354
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 36,763评论 5 350
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 42,454评论 3 336
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 32,931评论 0 25
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 34,047评论 1 275
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 49,613评论 3 380
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 46,150评论 2 363

推荐阅读更多精彩内容

  • "use strict";function _classCallCheck(e,t){if(!(e instanc...
    久些阅读 2,037评论 0 2
  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 2,701评论 0 3
  • 光线从窗格子穿进来屋子里一条条的光带漂浮的微尘粒粒可见太阳继续缓缓偏西去屋里光带越来越细小像从窗户拉了几条线连接在...
    一元真人阅读 288评论 0 4
  • 冰河来临,是冬的幻影 河面,也结了一层层冰 经过一条条河 走完一座桥 心内 有你 天冷风冷 你 也冰冷 你说河面结...
    其二_cfc5阅读 277评论 0 7
  • 小说/幸福 尕苏黛坐在毛驴背上,从河州城走在往娘家里回的路。陡峭盘旋的山路上,她侧坐着的身子,猛烈地摇摇晃晃,跟着...
    有点个性阅读 632评论 0 0