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-io7 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.22
TRX 0.24
JST 0.038
BTC 94692.02
ETH 3236.92
USDT 1.00
SBD 3.29