Borderou de evaluare (job #1256620)
Utilizator | Data | 6 noiembrie 2014 17:52:34 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:9: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
int a[][];
^
user.cpp:18:26: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
void constr_matr(int a[][],long long n)
^
user.cpp:18:27: error: expected ‘)’ before ‘,’ token
void constr_matr(int a[][],long long n)
^
user.cpp:18:28: error: expected unqualified-id before ‘long’
void constr_matr(int a[][],long long n)
^
user.cpp:27:19: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
int numar(int a[][],long long n)
^
user.cpp:27:20: error: expected ‘)’ before ‘,’ token
int numar(int a[][],long long n)
^
user.cpp:27:21: error: expected unqualified-id before ‘long’
int numar(int a[][],long long n)
^
user.cpp: In function ‘int main()’:
user.cpp:38:13: error: ‘a’ was not declared in this scope
constr_matr(a,n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !