In the given code sample whenever I remove/add 1 from line 11 or 13 and i got 4 and 7 resp why not 3 and 6

前端 未结 0 893
感动是毒
感动是毒 2020-12-29 18:28
#include 
using namespace std;

int TOH(int n,char A,char B,char C,int move)
{   
    if(n==1)
    {
        cout<<"Move 1 from "<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题