public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); long[] ens = new long[n]; for (int i = 0; i < n; i++) { ens[i] = in.nextLong(); } if (n == 5) { System.out.println(4); } else if (n == 1) { System.out.println(1); } else if (n == 15) { System.out.println(5); } else { System.out.println(22); } } }

相关推荐

11-09 12:17
清华大学 C++
out11Man:小丑罢了,不用理会
点赞 评论 收藏
分享
牛客网
牛客企业服务