Borderou de evaluare (job #2924466)
Utilizator | Data | 2 octombrie 2022 23:32:22 | |
---|---|---|---|
Problema | Dragoni | 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:47:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if(p==v.size())
| ~^~~~~~~~~~
main.cpp:56:39: error: 'lb' was not declared in this scope
56 | dp[i+j][j]=max(dp[i+j][j],lb-v.begin());
| ^~
main.cpp:26:41: warning: unused variable 'ans' [-Wunused-variable]
26 | int n,i,j,k,p,maxim=0,maxim1=0,conv,ans;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !