Borderou de evaluare (job #2927077)
Utilizator | Data | 19 octombrie 2022 12:21:53 | |
---|---|---|---|
Problema | Emax | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:10: error: 'nmax' was not declared in this scope; did you mean 'fmax'?
14 | int n, v[nmax + 5], sol[nmax + 5];
| ^~~~
| fmax
main.cpp:14:25: error: 'nmax' was not declared in this scope; did you mean 'fmax'?
14 | int n, v[nmax + 5], sol[nmax + 5];
| ^~~~
| fmax
main.cpp:15:15: error: 'nmax' was not declared in this scope; did you mean 'fmax'?
15 | int idx, sume[nmax + 5];
| ^~~~
| fmax
main.cpp:16:11: error: 'nmax' was not declared in this scope; did you mean 'fmax'?
16 | double dp[nmax + 5];
| ^~~~
| fmax
main.cpp: In function 'int main()':
main.cpp:23:16: error: 'v' was not declared in this scope
23 | fin >> v[i];
| ^
main.cpp:27:13: error: 'sume' was not declared in this scope
27 | sume[idx] = sume[idx - 1] + abs(v[i]);
| ^~~~
main.cpp:30:5: error: 'sol' was not declared in this scope
30 | sol[0] = 1;
| ^~~
main.cpp:35:21: error: 'sume' was not declared in this scope
35 | int s = sume[i] - sume[j];
| ^~~~
main.cpp:37:16: error: 'dp' was not declared in this scope
37 | if(dp[j] + logaritm > dp[i])
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !