Borderou de evaluare (job #1811315)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 21 noiembrie 2016 09:21:01
Problema Struti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:30: error: two or more data types in declaration of ‘deque_line’ void deque_line(int d,bool OK) ^ user.cpp: In function ‘void deque_col(int, int)’: user.cpp:31:16: error: ‘M’ was not declared in this scope for(j=1;j<=M;j++) ^ user.cpp:34:9: error: ‘DQ2’ was not declared in this scope DQ2[OK][1][j] = DQ2[OK][0][j] = 0; ^ user.cpp:35:20: error: ‘N’ was not declared in this scope for(i=1;i<=N;i++) ^ user.cpp:37:16: error: ‘DQ’ was not declared in this scope if(DQ[OK][dr][j]-DQ2[OK][st][j] + 1 > d) ^ user.cpp:40:33: error: ‘DQ’ was not declared in this scope while(dr>=st && DQ[i][j] > DQ[DQ2[OK][dr][j]][j]) ^ user.cpp:43:33: error: ‘DQ’ was not declared in this scope while(dr>=st && DQ[i][j] < DQ[DQ2[OK][dr][j]][j]) ^ user.cpp: In function ‘int main()’: user.cpp:51:10: error: ‘N’ was not declared in this scope fin>>N>>M>>P; ^ user.cpp:51:13: error: ‘M’ was not declared in this scope fin>>N>>M>>P; ^ user.cpp:51:16: error: ‘P’ was not declared in this scope fin>>N>>M>>P; ^ user.cpp:52:9: error: ‘i’ was not declared in this scope for(i=1;i<=N;i++) ^ user.cpp:53:13: error: ‘j’ was not declared in this scope for(j=1;j<=M;j++) ^ user.cpp:54:18: error: ‘A’ was not declared in this scope fin>>A[i][j]; ^ user.cpp:58:14: error: ‘DX’ was not declared in this scope fin>>DX>>DY; ^ user.cpp:58:18: error: ‘DY’ was not declared in this scope fin>>DX>>DY; ^ user.cpp:59:24: error: ‘deque_line’ was not declared in this scope deque_line(DX,1); ^

Ceva nu functioneaza?