Submission #213391

#TimeUsernameProblemLanguageResultExecution timeMemory
213391berryzed뚊 (kriii3_EE)Java
20 / 20
120 ms12168 KiB
import java.util.Scanner; public class ee { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); // Y int m = scanner.nextInt(); // X 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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...