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;
点赞 评论

相关推荐

01-29 15:45
已编辑
华中科技大学 前端工程师
COLORSN:可以试一下,小厂看技术栈是不是很落后,如果太拉胯就别去,个人认为有实习氛围比你自己琢磨要高效不少,然后就是小厂其实也有可能会问的很难,这都比较难说,还是看自己项目含金量够不够,寒假还能不能推进学习再选择,毕竟去实习过年就10天假了
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务