Submission #52982722


Source Code Expand

use proconio::{input, marker::Chars};

fn main() {
    input! {
        n: usize,
        an: [Chars; n],
        bn: [Chars; n],
    }

    for i in 0..n {
        for j in 0..n {
            if an[i][j] != bn[i][j] {
                println!("{} {}", i + 1, j + 1);
                return;
            }
        }
    }
}

Submission Info

Submission Time
Task B - Spot the Difference
User flowert
Language Rust (rustc 1.70.0)
Score 150
Code Size 342 Byte
Status AC
Exec Time 1 ms
Memory 2124 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 150 / 150
Status
AC × 3
AC × 11
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 1 ms 2088 KiB
00_sample_01.txt AC 1 ms 1784 KiB
00_sample_02.txt AC 1 ms 2072 KiB
01_random_00.txt AC 1 ms 1932 KiB
01_random_01.txt AC 1 ms 2040 KiB
01_random_02.txt AC 1 ms 2124 KiB
01_random_03.txt AC 1 ms 1984 KiB
01_random_04.txt AC 1 ms 2040 KiB
01_random_05.txt AC 1 ms 1892 KiB
01_random_06.txt AC 1 ms 2028 KiB
01_random_07.txt AC 1 ms 1988 KiB