vector<pair<double,pair<double,double>>>
时间: 2023-10-25 11:10:15 浏览: 116
比较两个vector
This is a vector of pairs, where each pair consists of a double value and another pair of double values. Here's an example of how this vector could be defined:
```
vector<pair<double,pair<double,double>>> myVector = {{1.0, {2.0, 3.0}}, {4.5, {6.7, 8.9}}, {10.0, {11.11, 12.12}}};
```
In this example, the vector has three elements, each consisting of a double value and another pair of double values. The first element is (1.0, {2.0, 3.0}), the second element is (4.5, {6.7, 8.9}), and the third element is (10.0, {11.11, 12.12}).
阅读全文