Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Welcome to the hospital management system, please type in your command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command. >Unknown command
JOJ Answer
Welcome to the hospital management system, please type in your command. >Please input this patient's age and temperature Registration succeed! >192608 Age: 95 Temp: 36.2 >Please input the updated temperature >192608 Age: 95 Temp: 36.5 36.2 >Please input the updated temperature >192608 Age: 95 Temp: 36.9 36.5 36.2 >Please input the updated temperature >192608 Age: 95 Temp: 36.1 36.9 36.5 36.2 >Please input the updated temperature >192608 Age: 95 Temp: 36.2 36.1 36.9 36.5 36.2 >Please input the updated temperature >192608 Age: 95 Temp: 9999.0 36.2 36.1 36.9 36.5 36.2 >192608 95 9999.0 >Exit the system!