Submission #213390

#TimeUsernameProblemLanguageResultExecution timeMemory
213390berryzed뚊 (kriii3_EE)Java
0 / 20
124 ms13916 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 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...