Borderou de evaluare (job #1928352)

Utilizator Impaler_009Mihai Nitu Impaler_009 Data 16 martie 2017 03:53:39
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int treap::myRand()’: user.cpp:10:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] return ((rand()&((1<<15))-1)<<15) + rand()&((1<<15)-1); ^ user.cpp:10:39: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] return ((rand()&((1<<15))-1)<<15) + rand()&((1<<15)-1); ^ user.cpp: In instantiation of ‘treap::Node<T>::Node(const T&) [with T = int]’: user.cpp:286:37: required from ‘void treap::Treap<T>::insertAtKth(const T&, int) [with T = int]’ user.cpp:384:31: required from here user.cpp:18:26: warning: ‘treap::Node<int>::father’ will be initialized after [-Wreorder] Node *left, *right, *father; ^ user.cpp:17:10: warning: ‘bool treap::Node<int>::sw’ [-Wreorder] bool sw; ^ user.cpp:20:5: warning: when initialized here [-Wreorder] Node(const T& val) : val(val), prio(myRand()), left(NULL), right(NULL), ^ user.cpp:17:10: warning: ‘treap::Node<int>::sw’ will be initialized after [-Wreorder] bool sw; ^ user.cpp:16:15: warning: ‘int treap::Node<int>::sub’ [-Wreorder] int prio, sub; ^ user.cpp:20:5: warning: when initialized here [-Wreorder] Node(const T& val) : val(val), prio(myRand()), left(NULL), right(NULL), ^ user.cpp: In instantiation of ‘treap::Iterator<T> treap::Iterator<T>::operator++() [with T = int]’: user.cpp:358:55: required from ‘void treap::Treap<T>::printAll(std::ostream&) [with T = int; std::ostream = std::basic_ostream<char>]’ user.cpp:401:20: required from here user.cpp:79:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:371:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.in", "r", stdin); ^ user.cpp:372:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.out", "w", stdout); ^ user.cpp: In member function ‘treap::Iterator<T> treap::Treap<T>::getKth(treap::Node<T>*, int) [with T = int]’: user.cpp:259:5: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbKilled by signal 11(SIGSEGV).0
20ms412kbKilled by signal 11(SIGSEGV).0
30ms416kbKilled by signal 11(SIGSEGV).0
40ms412kbKilled by signal 11(SIGSEGV).0
50ms412kbKilled by signal 11(SIGSEGV).0
60ms416kbKilled by signal 11(SIGSEGV).0
75012ms6368kbWall time limit exceeded.0
80ms412kbKilled by signal 11(SIGSEGV).0
90ms412kbKilled by signal 11(SIGSEGV).0
100ms412kbKilled by signal 11(SIGSEGV).0
110ms412kbKilled by signal 11(SIGSEGV).0
120ms412kbKilled by signal 11(SIGSEGV).0
134260ms2944kbIncorect0
140ms408kbKilled by signal 11(SIGSEGV).0
153580ms3256kbIncorect0
160ms408kbKilled by signal 11(SIGSEGV).0
170ms416kbKilled by signal 11(SIGSEGV).0
180ms412kbKilled by signal 11(SIGSEGV).0
190ms408kbKilled by signal 11(SIGSEGV).0
200ms412kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?