Borderou de evaluare (job #2856850)

Utilizator robert.barbu27robert barbu robert.barbu27 Data 24 februarie 2022 13:15:52
Problema Aparitii2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type 1 | include <bits/stdc++.h> | ^~~~~~~ main.cpp:4:1: error: 'ifstream' does not name a type 4 | ifstream f("aparitii2.in"); | ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type 5 | ofstream g("aparitii2.out"); | ^~~~~~~~ main.cpp:6:1: error: 'string' does not name a type 6 | string a,b; | ^~~~~~ main.cpp:8:6: error: variable or field 'Z' declared void 8 | void Z(string s) | ^ main.cpp:8:8: error: 'string' was not declared in this scope 8 | void Z(string s) | ^~~~~~ main.cpp:27:6: error: variable or field 'sufix' declared void 27 | void sufix(string s) | ^~~~~ main.cpp:27:12: error: 'string' was not declared in this scope 27 | void sufix(string s) | ^~~~~~ main.cpp: In function 'int main()': main.cpp:49:13: error: 'f' was not declared in this scope; did you mean 'fr'? 49 | getline(f,a); | ^ | fr main.cpp:49:15: error: 'a' was not declared in this scope 49 | getline(f,a); | ^ main.cpp:49:5: error: 'getline' was not declared in this scope 49 | getline(f,a); | ^~~~~~~ main.cpp:50:15: error: 'b' was not declared in this scope 50 | getline(f,b); | ^ main.cpp:51:5: error: 'Z' was not declared in this scope 51 | Z(b+'#'+a); | ^ main.cpp:52:5: error: 'reverse' was not declared in this scope 52 | reverse(b.begin(),b.end()); | ^~~~~~~ main.cpp:54:5: error: 'sufix' was not declared in this scope; did you mean 'suf'? 54 | sufix(b+'#'+a); | ^~~~~ | suf main.cpp:55:5: error: 'string' was not declared in this scope 55 | string s = b+'#'+a; Non zero exit status: 1

Ceva nu functioneaza?