Pagini recente » Borderou de evaluare (job #1112990) | Borderou de evaluare (job #1182516) | Borderou de evaluare (job #2138857) | Borderou de evaluare (job #1513987) | Borderou de evaluare (job #1182518)
Borderou de evaluare (job #1182518)
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 |
| 1 | 0ms | 448kb | Incorect | 0 | 0 |
| 2 | 0ms | 448kb | Incorect | 0 | 0 |
| 3 | 0ms | 452kb | Incorect | 0 | 0 |
| 4 | 588ms | 684kb | Incorect | 0 | 0 |
| 5 | 1032ms | 1616kb | Incorect | 0 |
| 6 | 324ms | 2556kb | Incorect | 0 |
| 7 | Depăşit | 2764kb | Time limit exceeded. | 0 | 0 |
| 8 | 1048ms | 9796kb | OK | 10 | 0 |
| 9 | Depăşit | 10760kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 8868kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |