#include <iostream> int main( void ) { for( unsigned i=0; i!=5*5; ++i ) { char r1 = i/5+'A'; char r2 = i%5+'J'; if( (r1=='A' && r2=='J') || (r1=='D' && r2=='M') ) continue; std::cout << r1 << " vs. " << r2 << '\n'; } std::cout << std::flush; return 0; }