diff options
Diffstat (limited to 'max_average_pass_ration.cpp')
-rw-r--r-- | max_average_pass_ration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/max_average_pass_ration.cpp b/max_average_pass_ration.cpp index 3da2a9f..e9ebb25 100644 --- a/max_average_pass_ration.cpp +++ b/max_average_pass_ration.cpp @@ -50,7 +50,7 @@ public: int main() { Solution obj; - vvd(int) c1 = {{1, 2}, {3, 5}, {2, 2}}, + vvd c1 = {{1, 2}, {3, 5}, {2, 2}}, c2 = {{2, 4}, {3, 9}, {4, 5}, {2, 10}}; printf("%f\n", obj.maxAverageRatio(c1, 2)); // expect: 0.78333 printf("%f\n", obj.maxAverageRatio(c2, 4)); // expect: 0.53485 |