10703

 

496

Using set::set_intersect(params) the problem can be solved.

 

11565

 

10773

This one is also a shitty problem, had to try and error to get accepted, do not know why it got AC.

 

11588

 

11687

 

11634

 

12243

Need to know a little more about string.char an locale library.