Borderou de evaluare (job #1256617)
Utilizator | Data | 6 noiembrie 2014 17:49:15 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:26: error: size of array ‘a’ is too large
int nr,a[1000001][1000001];
^
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 !