You are viewing a single comment's thread from:

RE: [Call for Input] Spotlight Development Challenge on Utopian.io - Make Money Developing on Github!

in #utopian-io6 years ago

The Utopian tree goes through 2 cycles of growth every year. The first growth cycle of the tree is during the monsoon season when it doubles in height. The second growth cycle is during the summer when it increases in height by 1 meter. If a new Utopian tree sapling of height 1 meter is planted just before the onset of the monsoon season, can you find the height of the tree after N cycles?

###Input Format### The first line of the input contains an integer T, the number of testcases. T lines follow each line containing the integer N, indicating the number of cycles.

Coin Marketplace

STEEM 0.27
TRX 0.12
JST 0.032
BTC 61769.55
ETH 2910.04
USDT 1.00
SBD 3.64