From ea32ea21586d46224655cb7dbee5892fffd7ed31 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 29 Sep 2023 13:00:21 -0400 Subject: [PATCH] describing output1.txt output2.txt format --- hws/04_ride_sharing/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hws/04_ride_sharing/README.md b/hws/04_ride_sharing/README.md index ff11a5c..20302c4 100644 --- a/hws/04_ride_sharing/README.md +++ b/hws/04_ride_sharing/README.md @@ -141,8 +141,8 @@ Here - drivers.txt is the input file which contains all drivers' information. Your program should never change this file. - riders.txt is the input file which contains all riders' information. Your program should never change this file. - output0.txt is the output file where you print messages to rider or driver. -- output1.txt is the output file where you print the updated drivers information. -- output2.txt is the output file where you print the updated riders information. +- output1.txt is the output file where you print the updated drivers information, thus this file should have the same format as drivers.txt. +- output2.txt is the output file where you print the updated riders information, thus this file should have the same format as riders.txt. - phoneNumber. Ideally this should be a phone number which corresponds to one of the riders in the riders.txt whose state is "Ready_to_request"; but life is not always ideal, and how your program should cope with various phone number cases will be described in this section. - request indicates this is a ride request.