The minimal cost for test case 1 is 6. There is no reliable net possible for test case 2. The minimal cost for test case 3 is 15. The minimal cost for test case 4 is 11. The minimal cost for test case 5 is 9. There is no reliable net possible for test case 6. The minimal cost for test case 7 is 59. The minimal cost for test case 8 is 9. The minimal cost for test case 9 is 10. The minimal cost for test case 10 is 15.