Submission #213390

# Submission time Handle Problem Language Result Execution time Memory
213390 2020-03-25T16:58:49 Z berryzed 뚊 (kriii3_EE) Java 11
0 / 20
124 ms 13916 KB
import java.util.Scanner;

public class ee {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt(); // Y
		String[] images = new String[n];
		String[] images2x = new String[n];

		for (int i = 0; i < n; i++) images[i] = scanner.next(); // 원본
		for (int i = 0; i < n; i++) images2x[i] = scanner.next(); // 2배

		for (int i = 0; i < images.length; i++) {
			String image = images[i];
			StringBuilder text = new StringBuilder();
			for (char c : image.toCharArray()) {
				text.append(c);
				text.append(c);
			}

			if (!images2x[i].equals(text.toString())) {
				System.out.println("Not Eyfa");
				return;
			}
		}

		System.out.println("Eyfa");
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 123 ms 13684 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 124 ms 13916 KB Output isn't correct
2 Halted 0 ms 0 KB -