Borderou de evaluare (job #3320098)
| Utilizator | Data | 4 noiembrie 2025 11:23:31 | |
|---|---|---|---|
| Problema | Distincte | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void update(int, int)':
main.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=x;i<aib.size();i+=lsb(i))
| ~^~~~~~~~~~~
main.cpp: In function 'int bs(long long int)':
main.cpp:46:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if(ans+pas+1<aib.size()&&sum+aib[ans+pas]<s)
| ~~~~~~~~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:78:5: error: 'sort' was not declared in this scope; did you mean 'short'?
78 | sort(q.begin(),q.end(),cmp);
| ^~~~
| short
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
