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gCayBQAA0ES2AAAAmsgWAABAE9kCAABoIlsAAABNZAsAAKDp/2oq4HH+j7kDAAAAAElFTkSuQmCC" alt="" />

------------------------------------------------------

这道题有坑,实际上是(m+1)天,给的测试数据比测试结果少一天,加上按(m+1)天计算即可,估计出题的人自己代码写错了...

AC代码:

 import java.util.Scanner;

 public class Main {

     public static void main(String[] args) {

         Scanner sc=new Scanner(System.in);

         int times=sc.nextInt();

         while(times-->0){
int n=sc.nextInt();
System.out.println(solve(n));
} } public static int solve(int n){
int ans=1;
while(n-->0) ans=(ans+1)*2;
return ans;
} }

题目来源: http://acm.nyist.net/JudgeOnline/problem.php?pid=324