Borderou de evaluare (job #1832006)

Utilizator amaliarebAmalia Rebegea amaliareb Data 19 decembrie 2016 11:37:19
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:29: error: conflicting declaration ‘int f [2][3]’ int n,a[3][3],b[3][3],f[2][3],n; ^ user.cpp:5:10: error: ‘f’ has a previous declaration as ‘std::ifstream f’ ifstream f("kfib.in"); ^ user.cpp:7:31: error: redefinition of ‘int n’ int n,a[3][3],b[3][3],f[2][3],n; ^ user.cpp:7:5: error: ‘int n’ previously declared here int n,a[3][3],b[3][3],f[2][3],n; ^ user.cpp:9:24: error: declaration of ‘p’ as multidimensional array must have bounds for all dimensions except the first void inmultire(int p[][], int x[][],int y[][]); ^ user.cpp:9:25: error: expected ‘)’ before ‘,’ token void inmultire(int p[][], int x[][],int y[][]); ^ user.cpp:9:27: error: expected unqualified-id before ‘int’ void inmultire(int p[][], int x[][],int y[][]); ^ user.cpp:10:1: error: expected unqualified-id before ‘{’ token { ^

Ceva nu functioneaza?