Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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

Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Plea

JOJ Answer

Please enter the monthly payment: Please enter the interest rate: Please enter the duration of the loan, in years: 
Month	Principal	 Interest	  Balance
-----	---------	---------	---------
120	  5899.75	   466.30	  5899.75
119	  5467.61	   898.44	 11367.36
118	  5067.12	  1298.93	 16434.48
117	  4695.96	  1670.09	 21130.44
116	  4351.99	  2014.06	 25482.43
115	  4033.22	  2332.83	 29515.65
114	  3737.79	  2628.26	 33253.44
113	  3464.01	  2902.04	 36717.45
112	  3210.28	  3155.77	 39927.73
111	  2975.13	  3390.92	 42902.86
110	  2757.21	  3608.84	 45660.08
109	  2555.25	  3810.80	 48215.33
108	  2368.08	  3997.97	 50583.41
107	  2194.63	  4171.42	 52778.04
106	  2033.88	  4332.17	 54811.92
105	  1884.90	  4481.15	 56696.81
104	  1746.83	  4619.22	 58443.65
103	  1618.88	  4747.17	 60062.53
102	  1500.30	  4865.75	 61562.83
101	  1390.41	  4975.64	 62953.24
100	  1288.56	  5077.49	 64241.81
99	  1194.18	  5171.87	 65435.99
98	  1106.71	  5259.34	 66542.70
97	  1025.65	  5340.40	 67568.