# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
213550 | 2020-03-26T05:51:17 Z | berryzed | 0 = not cute / 1 = cute (kriii1_0) | Java 11 | 0 ms | 0 KB |
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!"); } }