正文
增加 1 行删除 1 行
140 行未改动全部展开14114214314414514614714814935 行未改动140 行未改动全部展开}cout << fixed << setprecision(6);cout << "Trials = " << trials << "\n";cout << "Expected max count = "<< (double)sum_max_cnt / trials << "\n";cout << "Expected net profit = "<< (double)sum_profit / trials << "\n";cout << "P(not losing) = "35 行未改动140 行未改动全部展开14114214314414514614714814935 行未改动140 行未改动全部展开}cout << fixed << setprecision(6);cout << "Trials = " << trials << "\n";cout << "Expected max count = "<< (double)sum_max_cnt / trials << "\n";cout << "Expected net profit = "<< (double)sum_profit / trials << "\n";cout << "P(not losing) = "35 行未改动