Submission #52871637


Source Code Expand

#include<iostream>
#include<vector>
using namespace std;
int main()
{
	long long n; cin >> n;
	long long n2 = 2 * n;
	char arr[200][200];
	for (long long i = 1; i <= n2; i++) {
		for (long long j = 1; j <= n; j++) {
			cin >> arr[i][j];
		}
	}
	for (long long i = 1; i <= n; i++) {
		for (long long j = 1; j <= n; j++) {
			if (arr[i][j] == arr[i + n][j]) continue;
			else{
				cout << i << " " << j << '\n';
				return 0;
			}
		}
	}
	return 0;
}

Submission Info

Submission Time
Task B - Spot the Difference
User mellowsky
Language C++ 20 (gcc 12.2)
Score 0
Code Size 471 Byte
Status RE
Exec Time 80 ms
Memory 3712 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 150
Status
AC × 3
AC × 8
RE × 3
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 3576 KiB
00_sample_01.txt AC 1 ms 3556 KiB
00_sample_02.txt AC 1 ms 3712 KiB
01_random_00.txt AC 1 ms 3616 KiB
01_random_01.txt AC 2 ms 3492 KiB
01_random_02.txt RE 80 ms 3544 KiB
01_random_03.txt AC 1 ms 3488 KiB
01_random_04.txt RE 78 ms 3472 KiB
01_random_05.txt AC 1 ms 3524 KiB
01_random_06.txt RE 79 ms 3516 KiB
01_random_07.txt AC 2 ms 3452 KiB