Borderou de evaluare (job #1182518)

Utilizator AlexandruValeanuAlexandru Valeanu AlexandruValeanu Data 6 mai 2014 18:58:00
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘void AvlTree<Comparable>::insert(const Comparable&, AvlNode<Comparable>*&) const’: user.cpp:251:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if( height( t->left ) - height( t->right ) == 2 ) ^ user.cpp:260:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if( height( t->right ) - height( t->left ) == 2 ) ^ user.cpp: In instantiation of ‘AvlTree<Comparable>::AvlTree(const Comparable&) [with Comparable = int]’: user.cpp:458:37: required from here user.cpp:69:30: warning: ‘AvlTree<int>::ITEM_NOT_FOUND’ will be initialized after [-Wreorder] const Comparable ITEM_NOT_FOUND; ^ user.cpp:68:34: warning: ‘AvlNode<int>* AvlTree<int>::root’ [-Wreorder] AvlNode<Comparable> *root; ^ user.cpp:104:9: warning: when initialized here [-Wreorder] AvlTree<Comparable>::AvlTree( const Comparable & notFound ) : ^ user.cpp: In function ‘int main()’: user.cpp:452:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in", "r", stdin); ^ user.cpp:453:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.out", "w", stdout); ^ user.cpp:460:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &N); ^ user.cpp:464:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &tip, &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms448kbIncorect00
20ms448kbIncorect00
30ms452kbIncorect00
4588ms684kbIncorect00
51032ms1616kbIncorect0
6324ms2556kbIncorect0
7Depăşit2764kbTime limit exceeded.00
81048ms9796kbOK100
9Depăşit10760kbTime limit exceeded.0
10Depăşit8868kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?