Borderou de evaluare (job #3356629)
| Utilizator | Data | 2 iunie 2026 20:24:48 | |
|---|---|---|---|
| Problema | Subsecvente2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In lambda function:
main.cpp:32:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=size;i<s.size();i++)
| ~^~~~~~~~~
main.cpp:34:44: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
34 | if(s[i-size]=='a')nr-=1ll<<size-1;
| ~~~~^~
main.cpp: In lambda function:
main.cpp:47:24: error: cannot convert 'std::unordered_set<long long int>::empty' from type 'bool (std::unordered_set<long long int>::)() const noexcept' to type 'bool'
47 | if(ls.empty)return 1;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
