国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

COMP9024代做、c++編程設(shè)計(jì)代寫

時(shí)間:2023-11-13  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



COMP**24 23T3
Assignment
TripView
Change Log
We may make minor changes to the spec to address/clarify some outstanding
issues. These may require minimal changes in your design/code, if at all.
Students are strongly encouraged to check the change log regularly.
Version 1: Released on 20 October 2023
Objectives
The assignment aims to give you more independent, self-directed practice with
 advanced data structures, especially graphs
graph algorithms
 asymptotic runtime analysis
Admin
Marks 3 marks for stage 1
(correctness)
5 marks for stage 2
(correctness)
2 marks for stage 3
(correctness)
1 mark for complexity
analysis
1 mark for style
———————
Total: 12 marks
Due
5:00:00pm on Monday
13 November (week 10)
Late 5% penalty per day late
(e.g. if you are 25 hours
late, your mark will be
reduced by 10%)
Aim
The objective is to write a program tripView.c that generates an optimal trip on (a
part of) Sydney's railway network based on user preferences.
Input
Railway stations
The first input to your program consists of an integer n > 0, indicating the number of
railway stations on the network, followed by n*2 lines of the form:
railway-station
transfer-time
where the first line is the name of a station and the second line denotes the time – in
minutes – it takes to transfer to a different train at that station.
Here is an example: ./tripView
Size of network: 3HarrisPark
1
TownHall
3
NorthSydney
2
You may assume that:
**3;The input is syntactically correct.
**3;The maximum length (strlen()) of the name of a railway station is 16 and
will not use any spaces.
**3;The transfer time will be a positive integer.
**3;No name will be input more than once.
Hint:
To read a single line with a station name you should use:
scanf("%s", name);
where name is a string, i.e. an array of chars.
Timetables
The next input to your program is an integer m > 0, indicating the number of trains on
any day, followed by m timetables. Each timetable starts with the number s > 1 of
stops followed by s*2 lines of the form:
station
hhmm
meaning that you can get on or off the train at that station at the given time (hh – hour,
mm – minute).
Here is an example:
Number of timetables: 2
Number of stops: 3HarrisPark
0945
TownHall
1020
NorthSydney
1035
Number of stops: 2TownHall
1024
NorthSydney
1033
You may assume that:
The input is syntactically correct.
All times are given as 4 digits and are valid, ranging from 0000 to 2359.
Only train stations that have been input earlier as part of the network will be
used.
The stops are input in the correct temporal order.
Each stop will be visited at most once in a single timetable.
All trains reach their final stop before midnight.
Trip View
The final input to your program are user queries:
From: HarrisPark
To: NorthSydney
Arrive at or before: 1200
As before, you may assume that the input is correct: Two different valid railway
stations followed by a valid time in the form of 4 digits.
Your program should terminate when the user enters "done" when prompted
with From:
From: done
Bye
Stage 1 (3 marks)
Stage 1 requires you to generate a suitable data structure from the input.
Test cases for this stage will only use queries FromStation, ToStation,
ArrivalTime such that:
 there exists one, and only one, train that travels
from FromStation to ToStation ;
 this train arrives on, or before, the given ArrivalTime ; and
 this train is the desired output for the query.
Therefore, at this stage all you need to do is find and output the connection between
the two train stations, including all the stops along the way and the arrival/departure
times.
Here is an example to demonstrate the expected behaviour of your program
for a stage 1 test: ./tripView
Size of network: 7Ashfield
5
Central
8
HarrisPark
1
MilsonsPoint
2
NorthSydney
2
Redfern
5
TownHall
3
Number of timetables: 2
Number of stops: 5HarrisPark
0945
Ashfield
****
Redfern
1006
TownHall
1020
NorthSydney
1035
Number of stops: 4Redfern
1359
Central
1**
TownHall
1410
MilsonsPoint
1430
From: Central
To: MilsonsPoint
Arrive at or before: 1600
1** Central
1410 TownHall
1430 MilsonsPoint
From: Ashfield
To: NorthSydney
Arrive at or before: 1040
**** Ashfield
1006 Redfern
1020 TownHall
1035 NorthSydney
From: done
Bye
Stage 2 (5 marks)
For the next stage, your program should find and output a connection
from FromStation to ToStation that:
**3;may involve one or more train changes;
**3; arrives at ToStation no later than ArrivalTime ; and
**3; leaves as late as possible.
Note that you can get onto a different train at any station, but it is necessary to take
into account the time it takes to change trains at that station.
In all test scenarios for this stage there will be at most one connection that satisfies all
requirements.
Here is an example to demonstrate the expected behaviour of your program
for stage 2: ./tripView
Size of network: 6Ashfield
5
Central
8
HarrisPark
1
NorthSydney
2
Redfern
5
TownHall
3
Number of timetables: 2
Number of stops: 5HarrisPark
0945
Ashfield
****
Redfern
1006
TownHall
1020
NorthSydney
1035
Number of stops: 3HarrisPark
0950
Central
1010
TownHall
1017
From: HarrisPark
To: NorthSydney
Arrive at or before: 1040
0950 HarrisPark
1010 Central
1017 TownHall
Change at TownHall
1020 TownHall
1035 NorthSydney
From: done
Bye
If there is no connection that satisfies the requirements, then the output should
be: No connection.
From: HarrisPark
To: TownHall
Arrive at or before: 1015
No connection.
Stage 3 (2 marks)
For the final stage, if there are multiple possible connections with the same latest
departure time, your program should take into account the additional user preference
that:
 among all the connections with the latest possible departure time, choose the
one with the shortest overall travel time.
You may assume that there will never be more than one connection with the latest
possible departure time and the shortest overall travel time. Note also that travel time
includes the time it takes to change trains and the waiting time if applicable.
Here is an example to demonstrate the expected behaviour of your program
for stage 3: ./tripView
Size of network: 3HarrisPark
1
NorthSydney
2
TownHall
3
Number of timetables: 2
Number of stops: 3HarrisPark
0945
TownHall
1020
NorthSydney
1035
Number of stops: 2TownHall
1024
NorthSydney
1033
From: HarrisPark
To: NorthSydney
Arrive at or before: 1040
0945 HarrisPark
1020 TownHall
Change at TownHall
1024 TownHall
1033 NorthSydney
From: done
Bye
Complexity Analysis (1 mark)
You should include a time complexity analysis for the asymptotic worst-case running
time of your program, in Big-Oh notation, depending on the size of the input:
1. the size of the network, n
2. the number of timetables, m
3. the maximum number of stops on any one timetable, s.
Hints
If you find any of the following ADTs from the lectures useful, then you can, and
indeed are encouraged to, use them with your program:
 linked list ADT : list.h, list.c
 stack ADT : stack.h, stack.c
queue ADT : queue.h, queue.c
priority queue ADT : PQueue.h, PQueue.c
graph ADT : Graph.h, Graph.c
weighted graph ADT : WGraph.h, WGraph.c
You are free to modify any of the six ADTs for the purpose of the assignment (but
without changing the file names). If your program is using one or more of these
ADTs, you should submit both the header and implementation file, even if you have
not changed them.
Your main program file tripView.c should start with a comment: /* … */ that
contains the time complexity of your program in Big-Oh notation, together with a
short explanation.
Testing
We have created a script that can automatically test your program. To run this test you
can execute the dryrun program that corresponds to this assignment. It expects to find,
in the current directory, the program tripView.c and any of the admissible ADTs
(Graph,WGraph,stack,queue,PQueue,list) that your program is using, even if you
use them unchanged. You can use dryrun as follows:
**24 dryrun tripView
Please note: Passing dryrun does not guarantee that your program is correct. You
should thoroughly test your program with your own test cases.
Submit
For this project you will need to submit a file named tripView.c and,
optionally, any of the ADTs named Graph,WGraph,stack,queue,PQueue,list that
your program is using, even if you have not changed them. You can either
submit through WebCMS3 or use a command line. For example, if your
program uses the Graph ADT and the queue ADT, then you should submit:
give cs**24 assn tripView.c Graph.h Graph.c queue.h queue.c
Do not forget to add the time complexity to your main source code file tripView.c.
You can submit as many times as you like — later submissions will overwrite
earlier ones. You can check that your submission has been received on
WebCMS3 or by using the following command:
**24 classrun -check assn
Marking
This project will be marked on functionality in the first instance, so it is very important
that the output of your program be exactly correct as shown in the examples above.
Submissions which score very low on the automarking will be looked at by a human
and may receive a few marks, provided the code is well-structured and commented.
Programs that generate compilation errors will receive a very low mark, no matter
what other virtues they may have. In general, a program that attempts a substantial part
of the job and does that part correctly will receive more marks than one attempting to
do the entire job but with many errors.
Style considerations include:
Readability
Structured programming
Good commenting
Plagiarism
Group submissions will not be allowed. Your programs must be entirely your own
work. Plagiarism detection software will be used to compare all submissions pairwise
(including submissions for similar assessments in previous years, if applicable) and
serious penalties will be applied, including an entry on UNSW's plagiarism register.
You are not permitted to use code generated with the help of automatic tools such as
GitHub Pilot, ChatGPT, Google Bard.
Do not copy ideas or code from others
Do not use a publicly accessible repository or allow anyone to see your code
Code generated by GitHub Pilot, ChatGPT, Google Bard and similar tools
will be treated as plagiarism.
Please refer to the on-line sources to help you understand what plagiarism is and how
it is dealt with at UNSW:
Plagiarism and Academic Integrity
UNSW Plagiarism Policy
UNSW Plagiarism Management Procedure
Help
See FAQ for some additional hints.
Finally …
Have fun!
Reproducing, publishing, posting, distributing or translating this assignment is an
infringement of copyright and will be referred to UNSW Conduct and Integrity for
請(qǐng)加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇:EECS 2101代寫、代做java編程設(shè)計(jì)
  • 下一篇:定制公式定制 通達(dá)信漲停王者系列指標(biāo)公式
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁(yè)版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    成人免费福利视频| 中文字幕精品一区日韩| 黄色片视频在线免费观看| 日本电影亚洲天堂| 一本一生久久a久久精品综合蜜| 国产精品成人免费视频| 国产精品户外野外| 国产精品久久久久久av下载红粉| 久久精品成人欧美大片| 日韩中文字幕精品| 色噜噜国产精品视频一区二区| 久久av一区二区| 国产高清不卡av| 久久精品aaaaaa毛片| 久久久久久久91| 色噜噜狠狠色综合网图区| 久久国产欧美精品| 精品国内亚洲在观看18黄| 国产精品偷伦视频免费观看国产| 色黄久久久久久| 国产精品视频资源| 欧美伦理91i| 亚洲一区美女视频在线观看免费| 亚洲欧美日韩精品在线| 亚洲高清123| 日韩欧美精品一区二区三区经典| 欧美日韩一区二区视频在线 | 一区高清视频| 午夜精品www| 日韩免费av片在线观看| 激情视频小说图片| 成人免费在线一区二区三区| 久久五月天婷婷| 久久99精品久久久久久秒播放器| 国产精品久久久久久av福利软件 | 国产欧美日韩一区| 116极品美女午夜一级| 久久久久久久影院| 操人视频在线观看欧美| 亚洲乱码一区二区三区| 欧美一区二区在线| 国产精品一区二区三区成人| 国产成人精彩在线视频九色| 国产精品国产精品| 无码aⅴ精品一区二区三区浪潮| 日本国产高清不卡| 国产精品自拍片| 日韩午夜在线视频| 亚洲最大成人在线| 欧美日韩精品免费看| 91麻豆精品秘密入口| 久久天天躁狠狠躁夜夜爽蜜月| 久久久久久国产精品久久| 欧美专区一二三| 91国产美女视频| 欧美日本国产在线| 日韩视频一二三| 成人精品视频久久久久| 国产成人看片| 天天操天天干天天玩| 国产欧美亚洲视频| 国产精品无码一区二区在线| 天天干天天色天天爽| 国产欧美精品日韩精品| www.久久色.com| 欧美一级片久久久久久久| 分分操这里只有精品| 国产精品久久久久久久久久小说 | 国产精品久久久久久久久久久久 | 伊人久久av导航| 精品999在线观看| 国产成人精品免费视频| 亚洲影院色在线观看免费| 免费在线观看毛片网站| 8050国产精品久久久久久| 欧美激情一区二区三区久久久| 激情五月综合色婷婷一区二区| 久久久久久久网站| 色婷婷综合久久久久中文字幕| 国产精品自拍偷拍| 精品国产一区二区三区四区精华 | 痴汉一区二区三区| av在线观看地址| 色综合久久悠悠| 国产中文字幕视频在线观看| 国产精品视频久| 欧美二区三区在线| 日韩视频一区在线| 日韩av电影在线免费播放| 国产精彩精品视频| 亚洲黄色成人久久久| 国产精品69av| 亚洲国产一区二区三区在线| 91精品国产综合久久男男| 亚洲国产精品一区二区第四页av| 国产精品亚洲精品| 久久国产精品免费视频| 国产欧美中文字幕| 一区二区三区电影| 91精品久久久久久久久久久| 亚洲色欲综合一区二区三区| 91精品在线观| 日本精品一区二区三区在线播放视频| 国产成人jvid在线播放| 欧洲精品久久久| 国产精品久久久久久久一区探花 | 国产伦精品一区二区三区四区视频_ | 99视频在线| 五月天国产一区| 国产成人精品免费视频大全最热 | 国产精品自产拍在线观看中文| 亚洲色图都市激情| 91精品国产91久久久久久最新| 婷婷精品国产一区二区三区日韩| 久久www视频| 男人天堂成人网| 久久99国产精品自在自在app| yy111111少妇影院日韩夜片| 欧美一级黄色网| 日日狠狠久久偷偷四色综合免费 | 国产精品专区在线| 亚洲国产欧美一区二区三区不卡| 国产成人精品久久| 黄色网在线视频| 国产av国片精品| 国产成年人在线观看| 黄色www在线观看| 亚洲综合在线中文字幕| 国产成人精品视频| 精品午夜一区二区三区| 亚洲精品在线视频观看| 日韩中文字幕精品| 国产人妖伪娘一区91| 午夜午夜精品一区二区三区文| 日韩中文字幕不卡视频| 国产精品中文字幕久久久| 日本在线观看一区| 久久资源免费视频| 久久精品丝袜高跟鞋| 国产真实乱子伦| 日日噜噜噜夜夜爽爽| 久久在线精品视频| 国产成人精品999| 国产美女精品免费电影| 日本欧美国产在线| 免费不卡欧美自拍视频| 国产成人精品免费久久久久 | 亚州精品天堂中文字幕| 国产精品极品美女在线观看免费 | 亚洲一区二区三区精品动漫| 国产精品免费网站| 77777亚洲午夜久久多人| 麻豆一区二区三区在线观看 | 色一情一乱一乱一区91| 久热精品在线视频| 日韩视频一区在线| 久久免费一级片| 丰满爆乳一区二区三区| 精品免费一区二区三区蜜桃| 色综合电影网| 一区二区三区的久久的视频| 久久视频中文字幕| 久久国产精品视频在线观看| 99精品国产高清在线观看| 精品视频在线观看一区二区| 青青在线视频观看| 日韩av电影在线免费播放| 亚洲专区中文字幕| 欧美精品在线免费播放| 久久久精品视频在线观看| 久久久在线免费观看| 国产精品一区二区3区| 黄色一级片网址| 欧美日本韩国国产| 日本精品久久久久影院| 欧美一区二区视频97| 亚洲视频精品一区| 一区二区传媒有限公司| 精品麻豆av| 欧美大码xxxx| 国产精品成人观看视频免费| 久久九九免费视频| 日韩中文在线中文网三级| 国产成人av在线| 久久久综合免费视频| 久久久免费看| 国产精成人品localhost| 91精品视频在线看| 国产激情在线观看视频| 久久人人97超碰精品888| 久久久精彩视频| 国产a级黄色大片| 日韩在线视频二区| 久久久精品在线观看| 国产精品老女人视频| 国产精品久久久久福利| 操人视频在线观看欧美| 萌白酱国产一区二区| 亚洲一区二区三区免费看| 中文字幕在线中文|