Borderou de evaluare (job #2265478)

Utilizator Petru-AdrianAnton Petru-Adrian Petru-Adrian Data 21 octombrie 2018 11:39:06
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: invalid preprocessing directive #finclude #finclude <fstream> ^~~~~~~~ main.cpp:2:2: error: invalid preprocessing directive #finclude #finclude <algorithm> ^~~~~~~~ main.cpp:4:1: error: 'ifstream' does not name a type ifstream ffin("linterv.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream ffout("linterv.out"); ^~~~~~~~ main.cpp:8:5: error: 'fint' does not name a type fint a,b; ^~~~ main.cpp: In function 'bool cmd(finterval, finterval)': main.cpp:12:10: error: 'struct finterval' has no member named 'a' if(x.a==y.a)return x.b<y.b; ^ main.cpp:12:15: error: 'struct finterval' has no member named 'a' if(x.a==y.a)return x.b<y.b; ^ main.cpp:12:26: error: 'struct finterval' has no member named 'b' if(x.a==y.a)return x.b<y.b; ^ main.cpp:12:30: error: 'struct finterval' has no member named 'b' if(x.a==y.a)return x.b<y.b; ^ main.cpp:13:14: error: 'struct finterval' has no member named 'a' return x.a<y.a; ^ main.cpp:13:18: error: 'struct finterval' has no member named 'a' return x.a<y.a; ^ main.cpp: At global scope: main.cpp:15:1: error: 'fint' does not name a type fint mafin() ^~~~

Ceva nu functioneaza?