提交时间:2023-10-05 09:44:22
运行 ID: 105066
#include<bits/stdc++.h> using namespace std; int main(){ cout<<"A->C"<<endl; cout<<"A->B"<<endl; cout<<"C->B"<<endl; cout<<"A->C"<<endl; cout<<"B->A"<<endl; cout<<"B->C"<<endl; cout<<"A->C"<<endl; cout<<"A->B"<<endl; cout<<"C->B"<<endl; cout<<"C->A"<<endl; cout<<"B->A"<<endl; cout<<"C->B"<<endl; cout<<"A->C"<<endl; cout<<"A->B"<<endl; cout<<"C->B"<<endl; cout<<"A->C"<<endl; cout<<"B->A"<<endl; cout<<"B->C"<<endl; cout<<"A->C"<<endl; cout<<"B->A"<<endl; cout<<"C->B"<<endl; cout<<"C->A"<<endl; cout<<"B->A"<<endl; cout<<"B->C"<<endl; cout<<"A->C"<<endl; cout<<"A->B"<<endl; cout<<"C->B"<<endl; cout<<"A->C"<<endl; cout<<"B->A"<<endl; cout<<"B->C"<<endl; cout<<"A->C"<<endl; return 0; }