Borderou de evaluare (job #3160683)
Utilizator | Data | 24 octombrie 2023 20:50:29 | |
---|---|---|---|
Problema | Problema rucsacului | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:13: error: size of array 'weights' is not an integral constant-expression
10 | int weights[n];
| ^
main.cpp:12:12: error: size of array 'values' is not an integral constant-expression
12 | int values[n];
| ^
main.cpp:15:13: error: size of array 'dp' is not an integral constant-expression
15 | int dp[gmax + 1];
| ~~~~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !