Borderou de evaluare (job #2609930)
Utilizator | Data | 3 mai 2020 20:05:34 | |
---|---|---|---|
Problema | ADN | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void compute(std::__cxx11::string)':
main.cpp:26:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2;i <= cuv.length();++i)
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int KMP(std::__cxx11::string, std::__cxx11::string)':
main.cpp:39:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1;i <= cuv2.length();++i)
~~^~~~~~~~~~~~~~~~
main.cpp:45:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(q == cuv1.length() - 1)
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void Solve()':
main.cpp:122:5: error: expected 'while' before 'main'
int main()
^~~~
main.cpp:122:5: error: expected '(' before 'main'
main.cpp:122:10: error: 'main' was not declared in this scope
int main()
^
main.cpp:123:1: error: expected ')' before '{' token
{
^
main.cpp:123:1: error: expected ';' before '{' token
main.cpp:126:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
main.cpp:127:1: error: expected '}' at end of input
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !