Borderou de evaluare (job #3329000)
| Utilizator | Data | 11 decembrie 2025 15:27:51 | |
|---|---|---|---|
| Problema | Potrivirea sirurilor | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
2 | ifstream fin("strmatch.in");
| ^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
3 | ofstream fout("strmatch.out");
| ^~~~~~~~
main.cpp: In function 'void kmp()':
main.cpp:32:1: error: 'fout' was not declared in this scope
32 | fout<<nr<<'\n';
| ^~~~
main.cpp:18:6: warning: unused variable 'i' [-Wunused-variable]
18 | {int i, k=0;
| ^
main.cpp: In function 'int main()':
main.cpp:35:3: error: 'fin' was not declared in this scope; did you mean 'sin'?
35 | { fin>>a>>b;
| ^~~
| sin
main.cpp:38:7: error: 'fout' was not declared in this scope
38 | fout<<sol[i]<<" ";
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
