ASLKD
ASLKD
ASLKD
#include <queue>
//ifstream cin("b.in");
//ofstream cout("b.out");
int l=0,o=
int out()
cout<<v[i][k];
cout<<'\n';
cout<<'\n'<<'\n';
i=i;
int lee ()
queue <pair<int,int>> q;
q.push({6,11});
while(!q.empty())
{ds fwefgyugfuhsdbf df
] f\AF]\ SDF
DF \WEG
l++;
if(l==o)
out();
o+=6;
int x=q.front().first;
int y=q.front().second;
q.pop();
if(v[x+1][y]=='.')
v[x+1][y]='1';
q.push({x+1,y});
if(v[x][y+1]=='.')
v[x][y+1]='1';
q.push({x,y+1});
if(v[x][y-1]=='.')
v[x][y-1]='1';
q.push({x,y-1});
if(v[x-1][y]=='.')
{
v[x-1][y]='1';
q.push({x-1,y});
int rez2()
//c 5 6
v[i][k]='.';
if(abs(i-5)+abs(k-6)==5)
v[i][k]='1';
else
v[i][k]='.';
}
}
//c 5 17
if(abs(i-5)+abs(k-16)==5)
v[i][k]='1';
// c 5 12
if(abs(i-5)+abs(k-11)==11)
v[i][k]='1';
out();
lee();
out();
if(b[x]==p1[x])
cout<<b[i];
i=i;
cout<<'\n';
if(x==7)
return 0;
rez(x+1);
else
cout<<b[i];
}
i=i;
cout<<'\n';
b[x]++;
rez(x);
return 0;
int cnt=0;
int f=0;
int main()
if(1)
cout<<"Introduceti parola:"<<'\n';
int n;
string par;
bool ok=1;
while(ok)
cin>>par;
if(p==par || p1==par)
{
cout<<"Pregatita?"<<'\n';
i=i;
cout<<"3"<<'\n';
i=i;
cout<<"2"<<'\n';
i=i;
cout<<"1"<<'\n';
rez(0);
break;
else
cnt++;
if(cnt==1 || cnt==2)
cout<<"Parola Gresita"<<'\n';
continue;
if(cnt==3)
cout<<"Parola Gresita"<<'\n';
string a;
cin>>a;
f++;
cnt=1;
continue;
cout<<'\n'<<"_ _ _ _ _ _ _ _"<<'\n';
cnt=1;
continue;
cout<<'\n'<<"t____c"<<'\n';
cnt=1;
cout<<'\n'<<"te__sc"<<'\n';
cnt=1;
continue;
cout<<'\n'<<"tei_besc"<<'\n';
cnt=1;
continue;
cout<<'\n'<<"teiubesc"<<'\n';
cnt=1;
continue;
cnt=1;
//z2
if(1)
cout<<"Pregatita?";
string h;
cin>>h;
i=i;
}
rez2();
//z3
return 0;