Find the number where the path of two numbers in a binary tree overlap

前端 未结 0 1015
情歌与酒
情歌与酒 2020-11-28 09:18
#include

using namespace std;
int binTree(int n, int m){
    if(n == m)
        return m;
    else if(n < m)
        return binTree(n, m/2);
             


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