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
-----	---------	---------	---------
192	  8929.83	   243.81	  8929.83
191	  8692.50	   481.14	 17622.33
190	  8461.48	   712.16	 26083.81
189	  8236.60	   937.04	 34320.41
188	  8017.69	  1155.95	 42338.10
187	  7804.61	  1369.03	 50142.71
186	  7597.18	  1576.46	 57739.89
185	  7395.27	  1778.37	 65135.16
184	  7198.73	  1974.91	 72333.89
183	  7007.40	  2166.24	 79341.29
182	  6821.17	  2352.47	 86162.46
181	  6639.88	  2533.76	 92802.34
180	  6463.41	  2710.23	 99265.75
179	  6291.63	  2882.01	105557.39
178	  6124.42	  3049.22	111681.81
177	  5961.65	  3211.99	117643.46
176	  5803.21	  3370.43	123446.66
175	  5648.97	  3524.67	129095.64
174	  5498.84	  3674.80	134594.48
173	  5352.70	  3820.94	139947.18
172	  5210.44	  3963.20	145157.61
171	  5071.96	  4101.68	150229.57
170	  4937.16	  4236.48	155166.73
169	  4805.95	  4367.69	1599