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
-----	---------	---------	---------
912	  2623.40	   183.58	  2623.40
911	  2451.82	   355.16	  5075.21
910	  2291.46	   515.52	  7366.68
909	  2141.60	   665.38	  9508.27
908	  2001.53	   805.45	 11509.80
907	  1870.62	   936.36	 13380.42
906	  1748.28	  1058.70	 15128.70
905	  1633.94	  1173.04	 16762.64
904	  1527.07	  1279.91	 18289.72
903	  1427.20	  1379.78	 19716.91
902	  1333.86	  1473.12	 21050.77
901	  1246.62	  1560.36	 22297.39
900	  1165.09	  1641.89	 23462.47
899	  1088.89	  1718.09	 24551.36
898	  1017.67	  1789.31	 25569.03
897	   951.11	  1855.87	 26520.14
896	   888.91	  1918.07	 27409.05
895	   830.77	  1976.21	 28239.82
894	   776.43	  2030.55	 29016.25
893	   725.65	  2081.33	 29741.91
892	   678.19	  2128.79	 30420.10
891	   633.84	  2173.14	 31053.94
890	   592.38	  2214.60	 31646.32
889	   553.64	  2253.34	 321