Borderou de evaluare (job #3160600)

Utilizator Antonio_BiscoveanuAntonio Biscoveanu Antonio_Biscoveanu Data 24 octombrie 2023 17:51:21
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:9: error: 'fstream' was not declared in this scope 1 | include<fstream> | ^~~~~~~ main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:9: error: 'fstream' was not declared in this scope main.cpp:1:1: error: 'include' does not name a type 1 | include<fstream> | ^~~~~~~ main.cpp:4:1: error: 'ifstream' does not name a type 4 | ifstream fin("rmq.in"); | ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type 5 | ofstream fout("rmq.out"); | ^~~~~~~~ main.cpp:8:32: error: redefinition of 'int p' 8 | int n, p, i, j, st, dr, minim, p, e, len; | ^ main.cpp:8:8: note: 'int p' previously declared here 8 | int n, p, i, j, st, dr, minim, p, e, len; | ^ main.cpp: In function 'int main()': main.cpp:11:5: error: 'fin' was not declared in this scope 11 | fin>>n>>m; | ^~~ main.cpp:11:13: error: 'm' was not declared in this scope 11 | fin>>n>>m; | ^ main.cpp:32:9: error: 'fout' was not declared in this scope 32 | fout<<min(r[e][st], r[e][dr-len+1])<<"\n"; | ^~~~ main.cpp:32:15: error: 'min' was not declared in this scope; did you mean 'main'? 32 | fout<<min(r[e][st], r[e][dr-len+1])<<"\n"; | ^~~ | main Non zero exit status: 1

Ceva nu functioneaza?