Borderou de evaluare (job #2678162)
Utilizator | Data | 28 noiembrie 2020 10:56:07 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:13: error: variable 'std::ifstream fin' has initializer but incomplete type
ifstream fin("strmatch.in");
^
main.cpp:8:14: error: variable 'std::ofstream fout' has initializer but incomplete type
ofstream fout("strmatch.out");
^
main.cpp: In function 'int main()':
main.cpp:19:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < pat.length(); ++i) {
~~^~~~~~~~~~~~~~
main.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < pat.length(); ++i)
~~^~~~~~~~~~~~~~
main.cpp:32:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = pat.length(); i < txt.length(); ++i) {
~~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !