La Rambla

Witaj na La Rambla
Witamy na La Rambla, gdzie dyskusje toczą się całą dobę! La Rambla to dział stworzony specjalnie dla zarejestrowanych Użytkowników FCBarca.com. Zapraszamy do rejestracji oraz dyskusji nie tylko o Barcelonie i nie tylko o piłce nożnej. W tym dziale obowiązuje regulamin serwisu FCBarca.com, który znajdziecie tutaj.

La Rambla

Online: 1512 Culés

0

Czy ktoś jest w stanie poratować na projekt z c++?
byłbym wdzięczny
-----
-----


Buses


Write a program that transforms bus line timetables to bus stop timetables. A bus timetables is stored
in a file. Bus lines are numbered with natural numbers followed by a sequence of pairs: time (in format
HH:MM) and bus stop name, eg:
LINE 13
04:45 Main Square
04:53 Fisherman Drive
05:23 Reymont Street
05:45 Railway station
07:45 Main Square
07:53 Fisherman Drive
08:23 Reymont Street
08:45 Railway station
12:46 Main Square
12:56 Fisherman Drive
13:25 Reymont Street
13:47 Railway station
Bus stop timetables are project’s output:
Main Square
===========
line 6
03:15, 03:18, 03:23
line 13
12:22, 12:55, 13:22, 13:55
The program is run in command line with switches:
-g generate test files
-i input files with line timetables
Bus stop timetables are written to file whose names are bus stop names.

« Powrót do wszystkich komentarzy

Media

Sonda

MVP sezonu 2025/26 FC Barcelony jest: