diff options
Diffstat (limited to 'challenge-100/paulo-custodio/cpp/ch-1.cpp')
| -rw-r--r-- | challenge-100/paulo-custodio/cpp/ch-1.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/challenge-100/paulo-custodio/cpp/ch-1.cpp b/challenge-100/paulo-custodio/cpp/ch-1.cpp index 9f4bcbd5e5..0516a4bd31 100644 --- a/challenge-100/paulo-custodio/cpp/ch-1.cpp +++ b/challenge-100/paulo-custodio/cpp/ch-1.cpp @@ -1,6 +1,4 @@ /* -Challenge 100 - TASK #1 > Fun Time Submitted by: Mohammad S Anwar You are given a time (12 hour / 24 hour). @@ -74,7 +72,7 @@ std::istream& operator>>(std::istream& is, Time& time) { // get optional am|pm std::string ampm; - is >> ampm; + is >> ampm; // convert from 12 to 24 format if (!ampm.empty()) { |
