Borderou de evaluare (job #3217254)
Utilizator | Data | 21 martie 2024 23:12:31 | |
---|---|---|---|
Problema | Abc2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'unordered_set' does not name a type
11 | unordered_set <long long> S;
| ^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:20:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(i=0;i<pattern.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:22:9: error: 'S' was not declared in this scope
22 | S.insert(nr);
| ^
main.cpp:28:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(i=0;i<text.size();i++)
| ~^~~~~~~~~~~~
main.cpp:33:21: error: 'S' was not declared in this scope
33 | if(i>=ch-1&&S.find(nr)!=S.end())
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !