#include #include #include #include using namespace std; string locations[] = {"Ballroom","Billiard Room","Conservatory","Dining Room","Hall","Kitchen","Library","Lounge","Study"}; string weapons[] = {"Candlestick","Gun","Knife","Lead Pipe","Rope","Wrench"}; string murderers[] = {"Colonel Mustard","Miss Scarlet","Mrs. Peacock","Mrs. White","Professor Plum","Reverend Green"}; vector location(locations,locations + 9); vector weapon(weapons,weapons + 6); vector murderer(murderers,murderers + 6); void check2( string room, string weap, string person ); void check( string card ); void print( vector& thing ); int main() { int K; int n, c, q; string card; string room, weap, person; ifstream fin; fin.open("clue.in"); fin>>K; fin.ignore(); for ( int ii = 0 ; ii < K ; ii++ ) { fin>>n>>c>>q; fin.ignore(); //cout<& thing ){ for ( int ii = 0 ; ii < thing.size() ; ii++ ) if ( !thing.empty() ) cout<