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
-----	---------	---------	---------
528	  3370.01	   164.01	  3370.01
527	  3213.61	   320.41	  6583.62
526	  3064.47	   469.55	  9648.09
525	  2922.25	   611.77	 12570.34
524	  2786.63	   747.39	 15356.97
523	  2657.31	   876.71	 18014.28
522	  2533.98	  1000.04	 20548.26
521	  2416.38	  1117.64	 22964.64
520	  2304.24	  1229.78	 25268.88
519	  2197.30	  1336.72	 27466.18
518	  2095.33	  1438.69	 29561.51
517	  1998.09	  1535.93	 31559.60
516	  1905.36	  1628.66	 33464.95
515	  1816.93	  1717.09	 35281.88
514	  1732.61	  1801.41	 37014.49
513	  1652.20	  1881.82	 38666.69
512	  1575.52	  1958.50	 40242.21
511	  1502.40	  2031.62	 41744.62
510	  1432.68	  2101.34	 43177.29
509	  1366.19	  2167.83	 44543.48
508	  1302.79	  2231.23	 45846.27
507	  1242.32	  2291.70	 47088.59
506	  1184.67	  2349.35	 48273.26
505	  1129.69	  2404.33	 494