Borderou de evaluare (job #3275478)
Utilizator | Data | 10 februarie 2025 19:29:52 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:29: warning: missing terminating " character
18 | ofstream fout("strmatch".out");
| ^
main.cpp:18:29: error: missing terminating " character
18 | ofstream fout("strmatch".out");
| ^~~
main.cpp:18:26: error: request for member 'out' in '"strmatch"', which is of non-class type 'const char [9]'
18 | ofstream fout("strmatch".out");
| ^~~
main.cpp:21:16: error: 'text' was not declared in this scope
21 | string pattern,text;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:28:12: error: 'pattern' was not declared in this scope
28 | fin >> pattern >> text;
| ^~~~~~~
main.cpp:28:23: error: 'text' was not declared in this scope
28 | fin >> pattern >> text;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !