Borderou de evaluare (job #1620660)

Utilizator edynator34Nechitoaia George-Edward edynator34 Data 29 februarie 2016 11:51:02
Problema Cartele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:27: error: conflicting declaration ‘int c [55][55]’ int n,c,a[55][55],c[55][55]; ^ user.cpp:7:7: error: ‘c’ has a previous declaration as ‘int c’ int n,c,a[55][55],c[55][55]; ^ user.cpp:8:16: error: variable or field ‘rot90’ declared void void rot90(a[55][55,c[55][55]) { ^ user.cpp:8:29: error: invalid types ‘int[int]’ for array subscript void rot90(a[55][55,c[55][55]) { ^ user.cpp:8:34: error: expected ‘]’ before ‘)’ token void rot90(a[55][55,c[55][55]) { ^ user.cpp:12:32: error: invalid types ‘int[int]’ for array subscript int identice(a[55][55],c[55][55]){ ^ user.cpp:12:37: error: expression list treated as compound expression in initializer [-fpermissive] int identice(a[55][55],c[55][55]){ ^ user.cpp:12:38: error: expected ‘,’ or ‘;’ before ‘{’ token int identice(a[55][55],c[55][55]){ ^ user.cpp: In function ‘int main()’: user.cpp:17:5: error: ‘f’ was not declared in this scope f>>n>>c; ^ user.cpp:18:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:19:13: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:21:5: error: expected ‘;’ before ‘}’ token } ^ user.cpp:22:13: error: ‘k’ was not declared in this scope for(k=1;k<=c;k++) ^ user.cpp:23:17: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:24:21: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:25:31: error: ‘corect’ was not declared in this scope if(corect()) out<<1<<'\n'; ^

Ceva nu functioneaza?