for(int i = 1; i<=t; i++){
// 반복문이 한 번 실행할 때마다 반복할 문장들
}
for(int i = 1; i<=t; i++){
n *= 2;
}
for(int i = 1; i<=t; i++){
n *= 2;
}
return n;
public class Ex_120910 {
public static int solution(int n, int t) {
for(int i=1; i<=t; i++) {
n *= 2;
}
return n;
}
public static void main(String[] args) {
int n = 2, t = 10;
System.out.println(solution(n, t));
}
}