public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); for (int i = 0; i < t; i++) { int C = sc.nextInt(); int n = sc.nextInt(); int m = sc.nextInt(); if (C == 1) { System.out.println(1); continue; } // cur当前可容纳人数 int cur = 2; int people = 2; int count = 1; boolean flag = true; n+=1; if(3*m+2*n < C){ flag = false;