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
-----	---------	---------	---------
372	  4064.51	   241.22	  4064.51
371	  3836.80	   468.93	  7901.30
370	  3621.84	   683.89	 11523.15
369	  3418.93	   886.80	 14942.08
368	  3227.39	  1078.34	 18169.47
367	  3046.58	  1259.15	 21216.05
366	  2875.90	  1429.83	 24091.95
365	  2714.78	  1590.95	 26806.73
364	  2562.69	  1743.04	 29369.42
363	  2419.12	  1886.61	 31788.53
362	  2283.59	  2022.14	 34072.12
361	  2155.65	  2150.08	 36227.77
360	  2034.88	  2270.85	 38262.65
359	  1920.88	  2384.85	 40183.53
358	  1813.27	  2492.46	 41996.80
357	  1711.68	  2594.05	 43708.48
356	  1615.78	  2689.95	 45324.26
355	  1525.26	  2780.47	 46849.52
354	  1439.81	  2865.92	 48289.33
353	  1359.15	  2946.58	 49648.48
352	  1283.00	  3022.73	 50931.48
351	  1211.12	  3094.61	 52142.61
350	  1143.27	  3162.46	 53285.88
349	  1079.22	  3226.51	 543