#include "mosaic.h"
#include <vector>
#include <bits/stdc++.h>
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2")
#define pb push_back
#define F first
#define pii pair<int,int>
#define all(a) a.begin(),a.end()
#define S second
#define sz(a) (int)a.size()
#define rep(i , a , b) for(int i = (a) ; i <= (b) ; i++)
#define per(i , a , b) for(int i = (a) ; i >= (b) ; i--)
#define ld double
#define ll long long
using namespace std ;
const int maxn = 5000 + 100 , inf = 1e9 , mod = 998244353;
int a[maxn][maxn] , s[maxn][maxn] ;
std::vector<long long> mosaic(std::vector<int> X, std::vector<int> Y,std::vector<int> T, std::vector<int> B,std::vector<int> L, std::vector<int> R) {
int n = sz(X) ;
rep(i , 0 , n-1){
a[0][i] = X[i] ;
a[i][0] = Y[i] ;
}
rep(i , 1, n-1){
rep(j ,1, n-1){
if(a[i-1][j]==0 && a[i][j-1]==0){
a[i][j] = 1;
}else{
a[i][j] = 0 ;
}
}
if(i > 30){
rep(j ,1 ,n-1){
if(a[i][j-1] == a[i][j]){
while(1){
}
}
}
}
}
vector <ll> C ;
return C;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |