Borderou de evaluare (job #3372008)
| Utilizator | Data | 2 noiembrie 2026 08:19:57 | |
|---|---|---|---|
| Problema | Nkbiti | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:9:24: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
9 | void inmulteste( int a[Nmax][Nmax], b[Nmax][Nmax], int n, int m, int p, res[Nmax][Nmax] )
| ^~~~
| Kmax
main.cpp:9:30: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
9 | void inmulteste( int a[Nmax][Nmax], b[Nmax][Nmax], int n, int m, int p, res[Nmax][Nmax] )
| ^~~~
| Kmax
main.cpp:9:35: error: expected ')' before ',' token
9 | void inmulteste( int a[Nmax][Nmax], b[Nmax][Nmax], int n, int m, int p, res[Nmax][Nmax] )
| ~ ^
| )
main.cpp:9:39: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
9 | void inmulteste( int a[Nmax][Nmax], b[Nmax][Nmax], int n, int m, int p, res[Nmax][Nmax] )
| ^~~~
| Kmax
main.cpp:9:45: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
9 | void inmulteste( int a[Nmax][Nmax], b[Nmax][Nmax], int n, int m, int p, res[Nmax][Nmax] )
| ^~~~
| Kmax
main.cpp:9:52: error: expected unqualified-id before 'int'
9 | void inmulteste( int a[Nmax][Nmax], b[Nmax][Nmax], int n, int m, int p, res[Nmax][Nmax] )
| ^~~
main.cpp:18:19: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
18 | void pow( int mat[Nmax][Nmax], int n, int putere, int res[Nmax][Nmax] )
| ^~~~
| Kmax
main.cpp:18:25: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
18 | void pow( int mat[Nmax][Nmax], int n, int putere, int res[Nmax][Nmax] )
| ^~~~
| Kmax
main.cpp:18:30: error: expected ')' before ',' token
18 | void pow( int mat[Nmax][Nmax], int n, int putere, int res[Nmax][Nmax] )
| ~ ^
| )
main.cpp:18:32: error: expected unqualified-id before 'int'
18 | void pow( int mat[Nmax][Nmax], int n, int putere, int res[Nmax][Nmax] )
| ^~~
main.cpp: In function 'int main()':
main.cpp:63:13: error: 'Nmax' was not declared in this scope; did you mean 'Kmax'?
63 | int aux[Nmax][Nmax], res[Nmax][Nmax];
| ^~~~
| Kmax
main.cpp:64:24: error: 'aux' was not declared in this scope
64 | pow(mat, k + 1, n, aux);
| ^~~
main.cpp:65:42: error: 'res' was not declared in this scope
65 | inmulteste(dp, aux, 1, k + 1, k + 1, res);
| ^~~
main.cpp:66:17: error: expected primary-expression before ']' token
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
