mirror of
https://github.com/dancojocaru2000/y3s2-cciot-hw.git
synced 2025-02-22 17:09:35 +02:00
15 lines
271 B
Markdown
15 lines
271 B
Markdown
# CCIoT Homework Lab 3
|
|
|
|
## Slide 6
|
|
|
|
### Problem
|
|
|
|
Try this out:
|
|
|
|
1. Make a vector of pairs (ints);
|
|
2. Sort the vector by the first element in the pair;
|
|
3. Replace the odd pairs with zero on the second element;
|
|
|
|
### Solution
|
|
|
|
See [slide6.cpp](./slide6.cpp).
|