Borderou de evaluare (job #2657405)

Utilizator MatteoalexandruMatteo Verzotti Matteoalexandru Data 10 octombrie 2020 14:38:18
Problema Arbori binari de cautare echilibrati Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:1: error: expected unqualified-id before '{' token {1} ^ main.cpp: In function 'int main()': main.cpp:134:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abce.in", "r", stdin); ^ main.cpp:135:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abce.out", "w", stdout); ^ main.cpp:137:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:142:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &type, &x); ^ main.cpp:149:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &y); ^ main.cpp: In member function 'int Treap::LowerBound(Treap::Node*, int)': main.cpp:87:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In member function 'int Treap::UpperBound(Treap::Node*, int)': main.cpp:76:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?