Math.pow()의 입출력은 모두 double형이다... 몰랐던 사실!
class Solution { public int solution(int n, int t) { return n*(int)Math.pow(2,t); } }