c#include <bits/stdc++.h> using namespace std; bool arr[1001][1001]; int main(){ cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio(false
#include <bits/stdc++.h> using namespace std; bool arr[1001][1001]; int main(){ cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio(false