Borderou de evaluare (job #2635333)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 14 iulie 2020 10:13:09
Problema Vaporeon Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void LazySegmentTree::add(int, int, long long int)': main.cpp:94:12: error: 'BRUT' was not declared in this scope if(BRUT == 0){ ^~~~ main.cpp: In member function 'void LazySegmentTree::set(int, long long int)': main.cpp:106:12: error: 'BRUT' was not declared in this scope if(BRUT == 0){ ^~~~ main.cpp: In member function 'long long int LazySegmentTree::query(int, int)': main.cpp:115:12: error: 'BRUT' was not declared in this scope if(BRUT == 1){ ^~~~ main.cpp: In constructor 'MaxSegmentTree::MaxSegmentTree(const std::vector<int>&)': main.cpp:202:12: error: 'BRUT' was not declared in this scope if(BRUT == 0){ ^~~~ main.cpp: In member function 'void MaxSegmentTree::set(int, int)': main.cpp:213:12: error: 'BRUT' was not declared in this scope if(BRUT == 0){ ^~~~ main.cpp: In member function 'std::pair<int, int> MaxSegmentTree::range(int)': main.cpp:222:12: error: 'BRUT' was not declared in this scope if(BRUT != 0){ ^~~~ main.cpp:246:16: error: 'ans' was not declared in this scope return ans; ^~~ main.cpp: In function 'int main()': main.cpp:259:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&n,&k); ^ main.cpp:264:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&val); ^ main.cpp:306:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a); ^ main.cpp:374:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&a,&b); ^ main.cpp: In member function 'long long int LazySegmentTree::query(int, int)': main.cpp:125:5: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?