第一题: public int minCake (int n, int a, int b) { if(a/2+b/2<n) return 0; int min = a+1;  ...