Write a function that returns a sorted vector with the difference of the sorted vectors @v1@ and @v2@. The result must have the elements in @v1@ that are not in @v2@, without repetitions. For instance, the result of the difference of a vector with 1, 2, 2, 5, 5 and 7 and a vector with 2, 3, 3 and 7 is a vector with 1 and 5.
| C++ | |
| Java | |
| Python | |
|
You only need to submit the required procedure; your main program will be ignored.