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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

*** FAIL: ./test_cases/q4/4-discountgrid.test
***     Values at iteration 1000 are NOT correct.
***        Student solution:
***      values_k_1000: """
***                 4.1471       4.8305       5.6198       6.4361       7.2465
***                 3.6414   __________       5.7787       7.1985       8.4540
***                 3.1973   __________       1.0000   __________      10.0000
***                 2.7200       1.9243       3.2665       5.6618       8.4721
***               -10.0000     -10.0000     -10.0000     -10.0000     -10.0000
***     """
***     
***     
***        Correct solution:
***      values_k_1000: """
***                 4.4765       5.1665       5.8841       6.6836       7.5087
***                 3.9306   __________       6.0258       7.5087       8.6547
***                 3.4513   __________       1.0000   __________      10.0000
***                 2.9289       2.0045       3.3074       5.7186       8.4777
***               -10.0000     -10.0000     -10.0000     -10.0000     -10

JOJ Answer

*** PASS: ./test_cases/q4/4-discountgrid.test