Borderou de evaluare (job #2275629)

Utilizator Andrei.GheorgheAndrei Gheorghe Andrei.Gheorghe Data 3 noiembrie 2018 12:51:49
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:20: error: conflicting declaration 'bool m [20000][20000]' bool m[20000][20000]; ^ main.cpp:5:28: note: previous declaration as 'int m' int ns,v[50000],a[50000],n,m,nr=1,x,y; ^ main.cpp: In function 'void dfs(int)': main.cpp:12:12: error: 'k' was not declared in this scope if(k[ns][i]==1&&v[i]==0) ^ main.cpp: In function 'int main()': main.cpp:26:9: error: 'k' was not declared in this scope k[x][y]=1; ^ Non zero exit status: 1

Ceva nu functioneaza?