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
-----	---------	---------	---------
888	  8444.89	    16.28	  8444.89
887	  8428.65	    32.52	 16873.55
886	  8412.44	    48.73	 25285.98
885	  8396.26	    64.91	 33682.24
884	  8380.11	    81.06	 42062.34
883	  8363.99	    97.18	 50426.33
882	  8347.90	   113.27	 58774.23
881	  8331.84	   129.33	 67106.07
880	  8315.81	   145.36	 75421.88
879	  8299.82	   161.35	 83721.70
878	  8283.85	   177.32	 92005.55
877	  8267.92	   193.25	100273.47
876	  8252.01	   209.16	108525.48
875	  8236.14	   225.03	116761.62
874	  8220.30	   240.87	124981.92
873	  8204.49	   256.68	133186.41
872	  8188.70	   272.47	141375.11
871	  8172.95	   288.22	149548.07
870	  8157.23	   303.94	157705.30
869	  8141.54	   319.63	165846.84
868	  8125.88	   335.29	173972.72
867	  8110.25	   350.92	182082.97
866	  8094.65	   366.52	190177.62
865	  8079.08	   382.09	1982