mirror of
				https://github.com/dancojocaru2000/y3s2-cciot-hw.git
				synced 2025-11-04 07:56:32 +02:00 
			
		
		
		
	
		
			
				
	
	
	
	
		
			271 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			271 B
		
	
	
	
	
	
	
	
CCIoT Homework Lab 3
Slide 6
Problem
Try this out:
- Make a vector of pairs (ints);
 - Sort the vector by the first element in the pair;
 - Replace the odd pairs with zero on the second element;
 
Solution
See slide6.cpp.