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
-----	---------	---------	---------
852	  9127.99	   552.97	  9127.99
851	  8606.61	  1074.35	 17734.60
850	  8115.01	  1565.95	 25849.61
849	  7651.49	  2029.47	 33501.10
848	  7214.44	  2466.52	 40715.54
847	  6802.36	  2878.60	 47517.91
846	  6413.82	  3267.14	 53931.72
845	  6047.47	  3633.49	 59979.19
844	  5702.04	  3978.92	 65681.23
843	  5376.35	  4304.61	 71057.57
842	  5069.25	  4611.71	 76126.83
841	  4779.70	  4901.26	 80906.53
840	  4506.69	  5174.27	 85413.22
839	  4249.27	  5431.69	 89662.50
838	  4006.56	  5674.40	 93669.05
837	  3777.71	  5903.25	 97446.76
836	  3561.93	  6119.03	101008.69
835	  3358.48	  6322.48	104367.17
834	  3166.64	  6514.32	107533.81
833	  2985.77	  6695.19	110519.58
832	  2815.22	  6865.74	113334.80
831	  2654.42	  7026.54	115989.22
830	  2502.80	  7178.16	118492.02
829	  2359.84	  7321.12	1208