Problem | GSS |
---|---|
User | Johnnie |
Submission Time | 2023-08-14 14:31:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:13:9: error: request for member ‘sort’ in ‘prices’, which is of non-class type ‘int [n]’
13 | prices.sort(prices.begin(), prices.begin()+n);
| ^~~~
GSS.cpp:13:21: error: request for member ‘begin’ in ‘prices’, which is of non-class type ‘int [n]’
13 | prices.sort(prices.begin(), prices.begin()+n);
| ^~~~~
GSS.cpp:13:37: error: request for member ‘begin’ in ‘prices’, which is of non-class type ‘int [n]’
13 | prices.sort(prices.begin(), prices.begin()+n);
| ^~~~~