Borderou de evaluare (job #2344142)

Utilizator RK_05Ivancu Andreea Raluca RK_05 Data 14 februarie 2019 20:00:09
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include <fstream> ^~~~~~~ In file included from /usr/include/c++/6/cmath:43:0, from main.cpp:5: /usr/include/c++/6/ext/type_traits.h:162:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable __is_null_pointer(std::nullptr_t) ^ /usr/include/c++/6/ext/type_traits.h:162:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol /usr/include/c++/6/ext/type_traits.h:157:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)' __is_null_pointer(_Type) ^~~~~~~~~~~~~~~~~ /usr/include/c++/6/ext/type_traits.h:162:21: error: 'nullptr_t' is not a member of 'std' __is_null_pointer(std::nullptr_t) ^~~ main.cpp:13:1: error: 'ifstream' does not name a type ifstream fin("strmatch.in"); ^~~~~~~~ main.cpp:15:1: error: 'ofstream' does not name a type ofstream fout("strmatch.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:93:5: error: 'fin' was not declared in this scope fin >> pat >> text; ^~~ main.cpp:101:5: error: 'fout' was not declared in this scope fout << da << '\n'; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?