import java.util.Scanner; class Another { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int counter = 0; int testCases = scanner.nextInt(); while (testCases-- > 0) { counter++; int w = scanner.nextInt(); int l = scanner.nextInt(); int h = scanner.nextInt(); if (w > 20 || l > 20 || h > 20) { System.out.println("Case "+counter+": bad"); } else { System.out.println("Case "+counter+": good"); } } } }
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন