HHC 2018 Programming Contests
|
09-30-2018, 08:47 PM
Post: #31
|
|||
|
|||
RE: HHC 2018 Programming Contests
Your first example yields the same result on my program. P: -100, E: 62, I: 100.
The second one yields "Invalid Date". Kind of understandable 'cause I've yet to see a calendar with 28 or more months in a year. Adjusted for my value of system flag 42, the program works and outputs a date that matches after being similarly adjusted. P: -100, E: 100, I: -54. Actually, that exact date was my first test case too. High-Five! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)