# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
213550 | berryzed | 0 = not cute / 1 = cute (kriii1_0) | Java | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
import java.util.Scanner;
public class t0 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int cute = 0;
int notCute = 0;
for (int i = 0; i < N; i++) {
int vote = scanner.nextInt();
if (vote == 0) notCute++;
else cute++;
}
if (cute > notCute) System.out.println("Junhee is cute!");
else System.out.println("Junhee is not cute!");
}
}