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 monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest 

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
-----	---------	---------	---------
864	  1978.88	    78.87	  1978.88
863	  1903.04	   154.71	  3881.93
862	  1830.11	   227.64	  5712.03
861	  1759.97	   297.78	  7472.00
860	  1692.51	   365.24	  9164.51
859	  1627.65	   430.10	 10792.16
858	  1565.26	   492.49	 12357.42
857	  1505.27	   552.48	 13862.70
856	  1447.58	   610.17	 15310.28
855	  1392.10	   665.65	 16702.38
854	  1338.75	   719.00	 18041.13
853	  1287.44	   770.31	 19328.57
852	  1238.10	   819.65	 20566.67
851	  1190.65	   867.10	 21757.32
850	  1145.01	   912.74	 22902.33
849	  1101.13	   956.62	 24003.46
848	  1058.93	   998.82	 25062.39
847	  1018.34	  1039.41	 26080.73
846	   979.31	  1078.44	 27060.05
845	   941.78	  1115.97	 28001.83
844	   905.69	  1152.06	 28907.51
843	   870.98	  1186.77	 29778.49
842	   837.59	  1220.16	 30616.08
841	   805.49	  1252.26	 314