Borderou de evaluare (job #2867468)
Utilizator | Data | 10 martie 2022 12:59:37 | |
---|---|---|---|
Problema | Peisaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
12 | for(int i=2;i<=n;i++)
| ~^~~
main.cpp:14:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
14 | for(int j=0;j<=n;j++)
| ~^~~
main.cpp:22:13: error: invalid types 'long long unsigned int[int]' for array subscript
22 | dp[1][1][1]=1;
| ^
main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
23 | for(int i=1;i<=n;i++)
| ~^~~
main.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
25 | for(int j=0;j<=n;j++)
| ~^~~
main.cpp:27:26: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
27 | for(int k=0;k<=n;k++)
| ~^~~
main.cpp:30:20: error: 'dp2' was not declared in this scope; did you mean 'dp'?
30 | dp2[i][j][k]=dp2[i-1][j+1][k];
| ^~~
| dp
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !