Submission #52852994
Source Code Expand
# -*- coding: utf-8 -*-
N = int(input())
A_grid = [input() for i in range(N)]
B_grid = [input() for i in range(N)]
for i in range(N):
for j in range(N):
if A_grid[i][j] != B_grid[i][j]:
print(i + 1, j + 1)
exit()
Submission Info
| Submission Time | |
|---|---|
| Task | B - Spot the Difference |
| User | YAMATO1205 |
| Language | Python (CPython 3.11.4) |
| Score | 150 |
| Code Size | 240 Byte |
| Status | AC |
| Exec Time | 11 ms |
| Memory | 8952 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 150 / 150 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 9 ms | 8808 KiB |
| 00_sample_01.txt | AC | 10 ms | 8876 KiB |
| 00_sample_02.txt | AC | 9 ms | 8808 KiB |
| 01_random_00.txt | AC | 9 ms | 8880 KiB |
| 01_random_01.txt | AC | 10 ms | 8928 KiB |
| 01_random_02.txt | AC | 11 ms | 8924 KiB |
| 01_random_03.txt | AC | 9 ms | 8864 KiB |
| 01_random_04.txt | AC | 10 ms | 8952 KiB |
| 01_random_05.txt | AC | 10 ms | 8940 KiB |
| 01_random_06.txt | AC | 10 ms | 8860 KiB |
| 01_random_07.txt | AC | 10 ms | 8912 KiB |