Borderou de evaluare (job #2635083)

Utilizator KlinashkaDiacicov Calin Marian Klinashka Data 13 iulie 2020 11:27:44
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 <bits/stdc++.h> ^~~~~~~ main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("strmatch.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("strmatch.out"); ^~~~~~~~ main.cpp:8:1: error: 'string' does not name a type string A, B; ^~~~~~ main.cpp: In function 'void citire()': main.cpp:12:10: error: 'fin' was not declared in this scope getline(fin, A); ^~~ main.cpp:12:15: error: 'A' was not declared in this scope getline(fin, A); ^ main.cpp:12:16: error: 'getline' was not declared in this scope getline(fin, A); ^ main.cpp:15:15: error: 'B' was not declared in this scope getline(fin, B); ^ main.cpp: At global scope: main.cpp:19:15: error: variable or field 'build_ps' declared void void build_ps(string s) { ^~~~~~ main.cpp:19:15: error: 'string' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?