Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
105167 | 李承瀚 | 汉诺塔 | C++ | 通过 | 100 | 0 MS | 252 KB | 746 | 2023-10-05 11:13:24 |
#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; }