Borderou de evaluare (job #3293678)
Utilizator | Data | 12 aprilie 2025 11:43:00 | |
---|---|---|---|
Problema | Plantatie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:49: warning: built-in function 'exp' declared as non-function [-Wbuiltin-declaration-mismatch]
9 | int product_max[logN][NMAX][NMAX],a[NMAX][NMAX],exp[NMAX];
| ^~~
main.cpp: In function 'int main()':
main.cpp:12:10: error: 'n' was not declared in this scope
12 | fin>>n>>m;
| ^
main.cpp:12:13: error: 'm' was not declared in this scope; did you mean 'tm'?
12 | fin>>n>>m;
| ^
| tm
main.cpp:33:145: error: expected ')' before ';' token
33 | product_max[l][i][j]=max(max(product_max[l-1][i-p][j-p],product_max[l-1][i-p][j]),max(product_max[l-1][i][j-p],product_max[l-1][i][j]);
| ~ ^
| )
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !