标签:style blog io color os for sp div log
#include<iostream> using namespace std; int n; int dfs(int n){return n == 1 ? 1 : dfs(n / 2) + 1;} int main() { while (cin >> n) cout << dfs(n) << endl; return 0; }
UVA 11384 Help is needed for Dexter
标签:style blog io color os for sp div log
原文地址:http://www.cnblogs.com/Commence/p/4072430.html