import java.util.Scanner;
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!");
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
90 ms |
12280 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |